Microsoft DirectX 8.1 (Visual Basic)

DirectSoundPrimaryBuffer8.GetCaps

The GetCaps method retrieves the capabilities of the buffer.

Syntax

object.GetCaps(caps As DSBCAPS)

Parts

object

Resolves to a DirectSoundPrimaryBuffer8 object.

caps

DSBCAPS type that receives the capabilities of the buffer.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DSERR_INVALIDPARAM.