Platform SDK: DirectX

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
DSCCAPS type that receives the capabilties of the capture device.

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