Microsoft DirectX 8.1 (Visual Basic)

DirectPlayVoiceClient8.GetSoundDevices

Retrieves the current Microsoft® DirectSound® capture and playback objects.

GetSoundDevices( _
    DirectSoundObj As DirectSound8, _
    DirectCaptureObj As DirectSoundCapture8)

Parts

DirectSoundObj
Current DirectSound8 object being used for playback.
DirectCaptureObj
Current DirectSoundCapture8 object being using for capture.

Error Codes

If the method fails, Err.Number can be set to the following value.

DVERR_INVALIDPARAM