|Microsoft DirectX 9.0|
Sets the session settings.
PDVSESSIONDESC pSessionDesc );
- [in] Pointer to a DVSESSIONDESC structure that contains the session description.
Returns DV_OK if successful, or one of the following error values.
DVERR_INVALIDOBJECT The Microsoft?DirectPlay?object pointer is invalid. DVERR_INVALIDPARAM One or more of the parameters passed to the method are invalid. DVERR_INVALIDPOINTER The pointer specified is invalid. DVERR_NOTHOSTING The object is not the host of the session. 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.
After the DirectPlay voice session has started, only some of the session properties of the DVSESSIONDESC structure can be changed. For more information, see DVSESSIONDESC.