Platform SDK: DirectX |
DirectX7.DirectSoundCaptureCreate メソッドは、DirectSoundCapture オブジェクトを作成する。
object.DirectSoundCaptureCreate(guid As String) _ As DirectSoundCapture
成功すれば、DirectSoundCapture オブジェクトへのリファレンスを返す。
失敗すればエラーが発生し、Err.Number に次のいずれかのエラー コードが設定される。
DSERR_INVALIDPARAM |
DSERR_NOAGGREGATION |
DSERR_OUTOFMEMORY |
このメソッドは、全二重がサポートされていないサウンド カードの場合失敗する。DirectX7.DirectSoundCreate を呼び出すと、サポートされていないキャプチャ周波数がキャプチャ デバイスに設定され、DirectX7.DirectSoundCaptureCreate が失敗する。