IDirectPlay3::DeleteGroupFromGroup

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