Microsoft DirectX 8.0 (Visual Basic)

DirectSoundPrimaryBuffer8.GetFormat

Retrieves a description of the wave format of the buffer.

object.GetFormat(format As WAVEFORMATEX)

Parts

object
Resolves to a DirectSoundPrimaryBuffer8 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.

See Also

DirectSoundPrimaryBuffer8.SetFormat