DirectX SDK

DirectPlay4.GetSessionDesc

The DirectPlay4.GetSessionDesc method retrieves the properties of the current open session.

object.GetSessionDesc(sessionDesc As DirectPlaySessionData)) 

Parameters

object
Object expression that resolves to a DirectPlay4 object.
sessionDesc
DirectPlaySessionData object to receive information about the session. This object is obtained by using the DirectPlay4.CreateSessionData method.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following values:

DPERR_BUFFERTOOSMALL
DPERR_INVALIDOBJECT
DPERR_INVALIDPARAMS
DPERR_NOCONNECTION