Microsoft DirectX 8.1 (Visual Basic) |
Deletes a group created by the DirectPlay8Peer.CreateGroup method. This method can be called by any peer in the group.
This method will call the DirectPlay8Event.AddRemovePlayerGroup method for each peer in the group.
DestroyGroup(idGroup As Long, lFlags As Long) As Long
Returns the asynchronous handle for this operation. This is the handle that is used in lAsyncHandle parameter of the DirectPlay8Peer.CancelAsyncOperation method to cancel the request, if the request is processed asynchronously.
If the method fails, Err.Number can be set to one of the following values.
DPNERR_INVALIDFLAGS |
DPNERR_INVALIDGROUP |