Partager via


DSCBCAPS Structure

[The feature associated with this page, DirectSound, is a legacy feature. It has been superseded by WASAPI and Audio Graphs. Media Casting have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Media Casting instead of DirectSound, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The DSCBCAPS structure describes the capabilities of a capture buffer. It is used by the IDirectSoundCaptureBuffer8::GetCaps method.

Syntax

typedef struct DSCBCAPS {
    DWORD dwSize;
    DWORD dwFlags;
    DWORD dwBufferBytes;
    DWORD dwReserved;
} DSCBCAPS;

Members

  • dwSize
    Size of the structure, in bytes. This member must be initialized before the structure is used.
  • dwFlags
    Specifies device capabilities. Can be zero or DSCBCAPS_WAVEMAPPED. The Win32 wave mapper will be used for formats not supported by the device.
  • dwBufferBytes
    The size, in bytes, of the capture buffer.
  • dwReserved
    Reserved for future use.

Requirements

Header: Declared in DSound.h.