Platform SDK: DirectX

DirectPlayMessage.ReadSysMsgConnection

The DirectPlayMessage.ReadSysMsgConnection method obtains a DirectPlayLobbyConnection object from a DPSYS_STARTSESSION message.

object.ReadSysMsgConnection() As DirectPlayLobbyConnection

Parameters

object
Object expression that resolves to a DirectPlayMessage object.

Return Values

The method returns a DirectPlayLobbyConnection object.

Error Codes

If the method fails, an error is raised and Err.Number will be set.