IDirectSoundCaptureBuffer

The methods of the IDirectSoundCaptureBuffer interface are used to manipulate sound capture buffers.

The interface is obtained by calling the IDirectSoundCapture::CreateCaptureBuffer method.

The methods of the IDirectSoundCaptureBuffer interface may be grouped as follows:

Information GetCaps
  GetCurrentPosition
  GetFormat
  GetStatus
Capture management Lock
  Start
  Stop
  Unlock

Like all COM interfaces, the IDirectSoundCaptureBuffer interface also inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

IUnknown AddRef
  QueryInterface
  Release

The LPDIRECTSOUNDCAPTUREBUFFER type is defined as a pointer to the IDirectSoundCaptureBuffer interface:

typedef struct IDirectSoundCaptureBuffer *LPDIRECTSOUNDCAPTUREBUFFER;