DirectPlay Animated Header -- IDirectPlay3::DeleteGroupFromGroup DirectPlay Animated Header -- IDirectPlay3::DeleteGroupFromGroup* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: IDirectPlay3::CreatePlayer
*Next Topic: IDirectPlay3::DeletePlayerFromGroup


IDirectPlay3::DeleteGroupFromGroup


IDirectPlay3 Interface

Removes a shortcut to a group previously added with the IDirectPlay3::AddGroupToGroup method from a group. Deleting the shortcut does not destroy the group.

HRESULT DeleteGroupFromGroup(
  DPID idParentGroup,
  DPID idGroup
  );

Parameters
idParentGroup
The group DPID of the group containing the shortcut to be deleted. Can be any valid group DPID.
idGroup
The group DPID of the group to delete. Can be any valid group DPID.
Return Values

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

DPERR_ACCESSDENIED
DPERR_INVALIDGROUP
Remarks

A DPMSG_DELETEGROUPFROMGROUP system message is generated to inform players of this change.

See Also

IDirectPlay3::AddGroupToGroup, DPMSG_DELETEGROUPFROMGROUP

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

*Top of Page