Microsoft DirectX 8.1 (Visual Basic) |
Creates a group in the current session. A group is a logical collection of players.
When this method is called, DirectPlay calls each player's DirectPlay8Event.CreateGroup method to notify him or her of the new group.
CreateGroup(GroupInfo As DPN_GROUP_INFO, _ 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 the following value.
DPNERR_INVALIDFLAGS |
Microsoft® DirectPlay® does not maintain hierarchical groups because they can easily be implemented with flat groups and expeditious use of the group data.