Microsoft DirectX 8.1 (Visual Basic)

DirectPlayVoiceClient8.GetSoundDeviceConfig

Retrieves the sound device configuration of the session.

GetSoundDeviceConfig() As DVSOUNDDEVICECONFIG

Return Values

Returns a DVSOUNDDEVICECONFIG type that is filled with the configuration of the sound device.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DVERR_INVALIDPARAM
DVERR_NOTCONNECTED
DVERR_SESSIONLOST
DVERR_INVALIDPOINTER
DVERR_NOTINITIALIZED

Remarks

You can call this method only after a connection is successfully established with a Microsoft® DirectPlay® Voice session.