DirectPlay Animated Header -- IDirectPlay3::GetGroupParent DirectPlay Animated Header -- IDirectPlay3::GetGroupParent* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: IDirectPlay3::GetGroupName
*Next Topic: IDirectPlay3::GetMessageCount


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

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

*Top of Page