DirectSoundCaptureBuffer.GetFormat メソッドは、キャプチャ バッファのフォーマットを取得する。
object.GetFormat(waveformat As WAVEFORMATEX)
失敗すればエラーが発生し、Err.Number に DSERR_INVALIDPARAM が設定される。