Microsoft DirectX 8.1 (C++)

IDirectPlayVoiceClient::GetClientConfig

Retrieves the client configuration.

HRESULT GetClientConfig(
PDVCLIENTCONFIG pClientConfig
);

Parameters

pClientConfig
[out] Pointer to a DVCLIENTCONFIG structure that contains the configuration of the local client.

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 member, you must set the dwSize member of the DVCLIENTCONFIG structure.

You can call this method 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.