DirectX SDK

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
A DSCBCAPS type to be filled by the capture buffer. On input, 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_OUTOFMEMORY