Platform SDK: DirectX

DirectPlay4

Applications use the methods of the DirectPlay4 class to create DirectPlay objects, perform enumerations, establish connections, and manage sessions, players, and groups.

A single DirectPlay4 object should be created for each application by using the DirectX7.DirectPlayCreate method.

The methods of the DirectPlay4 class can be organized into the following groups:

Connections GetDPEnumConnections
  InitializeConnection
SetGroupConnectionSettings
Sessions Close
  CreateSessionData
GetDPEnumSessions
GetCaps
GetSessionDesc
Open
SecureOpen
SetSessionDesc
StartSession
Players CreatePlayer
  DestroyPlayer
GetDPEnumPlayers
GetPlayerAccountId
GetPlayerAddress
GetPlayerCaps
GetPlayerData
GetPlayerFlags
GetPlayerFormalName
GetPlayerFriendlyName
SetPlayerData
SetPlayerName
Messages CancelMessage
  CancelPriority
CreateMessage
GetMessageCount
GetMessageQueue
Receive
Send
SendChatMessage
SendEx
Groups AddGroupToGroup
  AddPlayerToGroup
CreateGroup
CreateGroupInGroup
DeleteGroupFromGroup
DeletePlayerFromGroup
DestroyGroup
GetDPEnumGroupPlayers
GetDPEnumGroups
GetDPEnumGroupsInGroup
GetGroupData
GetGroupFlags
GetGroupLongName
GetGroupShortName
GetGroupOwner
GetGroupParent
SetGroupData
SetGroupName
SetGroupOwner