Platform SDK: DirectX

DirectPlay4.DeleteGroupFromGroup

The DirectPlay4.DeleteGroupFromGroup method removes a shortcut to a group previously added with the DirectPlay4.AddGroupToGroup method from a group. Deleting the shortcut does not destroy the group.

object.DeleteGroupFromGroup(groupParentId As Long, _
    GroupId As Long) 

Parameters

object
Object expression that resolves to a DirectPlay4 object.
groupParentId
DirectPlay ID of the group containing the shortcut to be removed.
GroupId
DirectPlay ID of the group to remove.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following values:

DPERR_ACCESSDENIED
DPERR_CONNECTIONLOST
DPERR_INVALIDGROUP

Remarks

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