Microsoft DirectX 8.0 (Visual Basic)

DirectSoundCaptureBuffer8.GetFormat

Retrieves the format of the capture buffer.

object.GetFormat(waveformat As WAVEFORMATEX)

Parts

object
Resolves to a DirectSoundCaptureBuffer8 object.
waveformat
WAVEFORMATEX type that receives a description of the capture buffer format.

Error Codes

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