##

IDirectPlay3::GetGroupParent

IDirectPlay3 Interface

Returns the DPID of the parent of the group.

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 Values

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

DPERR_INVALIDGROUP
DPERR_INVALIDPARAMS

##### See Also

IDirectPlay3::CreateGroupInGroup

© 1997 Microsoft Corporation. All rights reserved. Terms of Use.