Deletes a group from the session. The ID belonging to this group will not be reused during the current session.
HRESULT DestroyGroup(
DPID idGroup
);
Returns DP_OK if successful, or one of the following error messages otherwise:
It is not necessary to empty a group before deleting it. The individual players belonging to the group are not destroyed. This method will generate a DPMSG_DELETEPLAYERFROMGROUP system message for each player in the group, and then a DPMSG_DESTROYPLAYERORGROUP system message. For a list of system messages, see Using System Messages.
Any application can destroy any group even if the group was not created locally.
IDirectPlay3::CreateGroup, DPMSG_DESTROYPLAYERORGROUP
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.