IDirectPlay4::GetGroupParent

IDirectPlay4 Interface

Returns the DPID of the parent of the group.

Syntax

HRESULT GetGroupParent(
  DPID idGroup,
  LPDPID lpidParent
  );

Parameters

idGroup
ID of the group whose parent is being requested.
lpidParent
Pointer to a DPID to be set to the ID of the parent group. If this method returns a parent ID of zero, the group is a root group.

Return Value

Returns DP_OK if successful, or one of the following error values otherwise:
DPERR_INVALIDGROUP
DPERR_INVALIDPARAMS

See Also

IDirectPlay4::CreateGroupInGroup


Top of Page Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.