IDirectPlay4 Interface

Applications use the methods of the IDirectPlay4 interface to create DirectPlay objects and work with system-level variables. (The IDirectPlay4A interface is the same as the IDirectPlay4 interface, except that IDirectPlay4A uses ANSI characters, and IDirectPlay4 uses Unicode.) This section is a reference to the methods of this interface.

The methods of the IDirectPlay4 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
GetPlayerAccount
GetPlayerAddress
GetPlayerCaps
GetPlayerData
GetPlayerFlags
GetPlayerName
SetPlayerData
SetPlayerName
Message management CancelMessage
CancelPriority
GetMessageCount
GetMessageQueue
Receive
Send
SendChatMessage
SendEx
Group management AddGroupToGroup
AddPlayerToGroup
CreateGroup
CreateGroupInGroup
DeleteGroupFromGroup
DeletePlayerFromGroup
DestroyGroup
EnumGroupPlayers
EnumGroups
EnumGroupsInGroup
GetGroupData
GetGroupFlags
GetGroupName
GetGroupOwner
GetGroupParent
SetGroupData
SetGroupName
SetGroupOwner
Initialization Initialize
Security and authentication SecureOpen

The IDirectPlay4 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
AddRef
QueryInterface
Release


Top of Page Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.