Microsoft DirectX 8.1 (Visual Basic) |
The GetFormat method retrieves the format of the capture buffer.
Syntax
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.