Microsoft DirectX 8.1 (C++)

IDirectPlayVoiceClient::GetSessionDesc

Retrieves the session properties.

HRESULT GetSessionDesc(
PDVSESSIONDESC pvSessionDesc
);

Parameters

pvSessionDesc
[out] Pointer to a DVSESSIONDESC structure to receive the session description.

Return Values

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

DVERR_INVALIDPARAM
DVERR_INVALIDPOINTER
DVERR_NOTCONNECTED
DVERR_NOTINITIALIZED
DVERR_SESSIONLOST

Remarks

Before calling this method, make sure to set the dwSize member of the DVSESSIONDESC structure.

This method may be called only after a connection is successfully established with a Microsoft® DirectPlay® Voice session.

Requirements

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