DirectX SDK

DirectSoundCapture.GetCaps

The DirectSoundCapture.GetCaps method obtains the capabilities of the capture device.

object.GetCaps(caps As DSCCAPS)

Parameters

object
Object expression that resolves to a DirectSoundCapture object.
caps
A DSCCAPS type to be filled by the capture device. When the method is called, the lSize member must specify the size of the type in bytes.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following error values:

DSERR_INVALIDPARAM
DSERR_UNSUPPORTED
DSERR_NODRIVER
DSERR_OUTOFMEMORY
DSERR_UNINITIALIZED