Microsoft DirectX 8.1 (Visual Basic) |
Creates a group in the current session. A group is a logical collection of players.
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 DirectPlay8Server.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.