Microsoft DirectX 8.0 (Visual Basic)

DirectSoundCapture8.GetCaps

Obtains the capabilities of the capture device.

object.GetCaps(caps As DSCCAPS)

Parts

object
Resolves to a DirectSoundCapture8 object.
caps
DSCCAPS type that receives the capabilities 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