Microsoft DirectX 8.1 (C++) |
Sets the client configuration.
HRESULT SetClientConfig( PDVCLIENTCONFIG pClientConfig );
Returns DV_OK if successful, or one of the following error values.
DVERR_INVALIDFLAGS |
DVERR_INVALIDPARAM |
DVERR_INVALIDPOINTER |
DVERR_NOTCONNECTED |
DVERR_NOTINITIALIZED |
DVERR_SESSIONLOST |
You can call this method only after a connection is successfully established with a Microsoft® DirectPlay® Voice session.
Calling this method sets all the parameters in the DVCLIENTCONFIG structure. Therefore, to leave a setting unmodified, you must retrieve the current configuration with IDirectPlayVoiceClient::GetClientConfig. Then modify the parameters to change and call IDirectPlayVoiceClient::SetClientConfig.
If the session is running in half duplex, the members of GetClientConfig related to recording are ignored.
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.