|Microsoft DirectX 9.0|
Retrieves the session properties.
PDVSESSIONDESC pvSessionDesc );
- [out] Pointer to a DVSESSIONDESC structure to receive the session description.
Returns DV_OK if successful, or one of the following error values.
DVERR_INVALIDPARAM One or more of the parameters passed to the method are invalid. DVERR_INVALIDPOINTER The pointer specified is invalid. DVERR_NOTCONNECTED The Microsoft?DirectPlay?Voice object is not connected. DVERR_NOTINITIALIZED The IDirectPlayVoiceClient::Initialize or IDirectPlayVoiceServer::Initialize method must be called before calling this method. DVERR_SESSIONLOST The transport has lost the connection to the session.
Before calling this method, make sure to set the DVSESSIONDESC structure's dwSize member.
This method may be called only after a connection is successfully established with a DirectPlay Voice session.