DirectX SDK

DirectPlaySessionData

The DirectPlaySessionData class represents the descriptive data associated with a session. An object of this class is returned by the DirectPlay4.CreateSessionData method and passed to DirectPlay4.Open or DirectPlay4.SecureOpen. It is also used by various other methods to set or retrieve the session description.

The DirectPlaySessionData class has the following methods:

Get data GetCurrentPlayers
  GetFlags
GetGuidApplication
GetGuidInstance
GetMaxPlayers
GetSessionName
GetSessionPassword
GetUser1
GetUser2
GetUser3
GetUser4
Set data SetFlags
  SetGuidApplication
SetGuidInstance
SetMaxPlayers
SetSessionName
SetSessionPassword
SetUser1
SetUser2
SetUser3
SetUser4

See Also

DirectPlay4.GetSessionDesc, DirectPlay4.SetSessionDesc, DirectPlayLobbyConnection.GetSessionDesc, DirectPlayLobbyConnection.SetSessionDesc, DirectPlay4.GetDPEnumSessions, DirectPlayEnumSessions.GetItem