Platform SDK: DirectX

DirectSoundCaptureBuffer.GetCaps

The DirectSoundCaptureBuffer.GetCaps method returns the capabilities of the buffer.

object.GetCaps(caps As DSCBCAPS)

Parameters

object
Object expression that resolves to a DirectSoundCaptureBuffer object.
caps
DSCBCAPS type that receives the capabilities of the capture buffer.

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_OUTOFMEMORY