Applications use the methods of the IDirectPlay3 interface to create DirectPlay objects and work with system-level variables. (The IDirectPlay3A interface is the same as the IDirectPlay3 interface, except that IDirectPlay3A uses ANSI characters, and IDirectPlay3 uses Unicode.) This section is a reference to the methods of this interface.
The methods of the IDirectPlay3 interface can be organized into the following groups:
| Session Management | Close |
| EnumConnections | |
| EnumSessions | |
| GetCaps | |
| GetGroupConnectionSettings | |
| GetSessionDesc | |
| InitializeConnection | |
| Open | |
| SetGroupConnectionSettings | |
| SetSessionDesc | |
| StartSession | |
| Player management | CreatePlayer |
| DestroyPlayer | |
| EnumPlayers | |
| GetPlayerAddress | |
| GetPlayerCaps | |
| GetPlayerData | |
| GetPlayerName | |
| SetPlayerData | |
| SetPlayerName | |
| Message Management | GetMessageCount |
| Receive | |
| Send | |
| SendChatMessage | |
| Group management | AddGroupToGroup |
| AddPlayerToGroup | |
| CreateGroup | |
| CreateGroupInGroup | |
| DeleteGroupFromGroup | |
| DeletePlayerFromGroup | |
| DestroyGroup | |
| EnumGroupPlayers | |
| EnumGroups | |
| EnumGroupsInGroup | |
| GetGroupData | |
| GetGroupName | |
| SetGroupData | |
| SetGroupName | |
| Initialization | Initialize |
| Security and Authentication | SecureOpen |
The IDirectPlay3 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
| AddRef |
| QueryInterface |
| Release |
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.