DirectX SDK

DirectPlay4.CreateSessionData

The DirectPlay4.CreateSessionData method creates an object that is used to set and retrieve information about a session.

object.CreateSessionData() As DirectPlaySessionData

Parameters

object
Object expression that resolves to a DirectPlay4 object.

Return Values

If it succeeds, the method returns a DirectPlaySessionData object.

Error Codes

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