Microsoft DirectX 8.0 (C++)

IDirectPlayVoiceServer::SetSessionDesc

Sets the session settings.

HRESULT SetSessionDesc(
PDVSESSIONDESC pSessionDesc
);

Parameters

pSessionDesc
Pointer to a DVSESSIONDESC structure that contains the session description.

Return Values

Returns DV_OK if successful, or one of the following error values.

DVERR_INVALIDOBJECT
DVERR_INVALIDPARAM
DVERR_INVALIDPOINTER
DVERR_NOTHOSTING
DVERR_NOTINITIALIZED
DVERR_SESSIONLOST

Remarks

After the Microsoft® DirectPlay® voice session has started, not all the session properties of the DVSESSIONDESC structure can be changed. For more information, see DVSESSIONDESC.

Requirements

  Windows NT/2000: Available as a redistributable for Windows 2000 and later.
  Windows 95/98: Available as a redistributable for Windows 95 and later.
  Header: Declared in Dvoice.h.