Microsoft DirectX 8.1 (Visual Basic) |
Sets the client configuration.
SetClientConfig(ClientConfig As DVCLIENTCONFIG)
If the method fails, Err.Number can be set to one of the following values.
DVERR_INVALIDPARAM |
DVERR_INVALIDPOINTER |
DVERR_INVALIDFLAGS |
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 type. Therefore, to leave a setting unmodified, you must retrieve the current configuration with DirectPlayVoiceClient8.GetClientConfig. Then, modify the parameters to change and call DirectPlayVoiceClient8.SetClientConfig.
If the session is running in half duplex, the members of the GetClientConfig method related to recording are ignored.