Microsoft DirectX 8.0 (Visual Basic)

DirectSoundPrimaryBuffer8.GetCaps

Retrieves the capabilities of the buffer.

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.