Microsoft DirectX 8.0 (C++)

IDirectSoundCapture8

IDirectSoundCapture8 インターフェイスのメソッドは、サウンド キャプチャ バッファを作成するために使用される。

インターフェイスは、DirectSoundCaptureCreate8 関数または DirectSoundFullDuplexCreate8 関数を使って取得するか、CoCreateInstance または CoCreateInstanceEx を使って、クラス CLSID_DirectSoundCapture8 のオブジェクトを作成する。

IDirectSoundCapture8 は、IDirectSoundCapture の定義である。2 つのインターフェイス名は入れ替え可能である。ただし、このインターフェイスをサポートしているオブジェクトは、クラスによって機能が異なる。詳細については、「DirectSoundCaptureCreate8」および「IDirectSoundCapture8::CreateCaptureBuffer」を参照すること。

IDirectSoundCapture8 インターフェイスのメソッドは、次のグループにまとめることができる。

作成 CreateCaptureBuffer
  Initialize
能力 GetCaps

すべての COM インターフェイスと同様に、IDirectSoundCapture8 インターフェイスは IUnknown インターフェイス メソッドを継承する。IUnknown インターフェイスは次の 3 つのメソッドをサポートする。

IUnknown AddRef
  QueryInterface
Release

LPDIRECTSOUNDCAPTURE 型は、IDirectSoundCapture インターフェイスへのポインタとして定義されている。

typedef struct IDirectSoundCapture   *LPDIRECTSOUNDCAPTURE;

動作環境

  ヘッダー : dsound.h で宣言。