Microsoft DirectX 8.1 (Visual Basic)

DirectSoundCapture8.GetCaps

The GetCaps method obtains the capabilities of the capture device.

Syntax

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