Microsoft DirectX 8.1 (Visual Basic)

DirectSoundSecondaryBuffer8.GetFormat

The GetFormat method retrieves a description of the wave format of the buffer.

Syntax

object.GetFormat(format As WAVEFORMATEX)

Parts

object

Resolves to a DirectSoundSecondaryBuffer8 object.

format

WAVEFORMATEX type that receives a description of the wave format of the buffer.

Error Codes

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