IDirectPlay4::DeleteGroupFromGroup

IDirectPlay4 Interface

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

Syntax

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 Value

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

Remarks

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

See Also

IDirectPlay4::AddGroupToGroup, DPMSG_DELETEGROUPFROMGROUP


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