Applications use the methods of the IDirectPlay2 interface to create DirectPlay objects and work with system-level variables. (The IDirectPlay2A interface is the same as the IDirectPlay2 interface, except that IDirectPlay2A uses ANSI characters, and IDirectPlay2 uses Unicode.) This section is a reference to the methods of this interface.
The methods of the IDirectPlay2 interface can be organized into the following groups:
Data management GetGroupData
Group management AddPlayerToGroup
Initialization Initialize
Message management GetMessageCount
Player management CreatePlayer
Session management Close
The IDirectPlay2 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods: