DSCBUFFERDESC

This structure is used by the IDirectSoundCapture::CreateCaptureBuffer method.

typedef struct {
  DWORD dwSize;
  DWORD dwFlags;
  DWORD dwBufferBytes;
  DWORD dwReserved;
  LPWAVEFORMATEX lpwfxFormat;
} DSCBUFFERDESC, *LPDSCBUFFERDESC;
 
typedef const DSCBUFFERDESC *LPCDSCBUFFERDESC;
 

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 the following flag.
    Flag Description
    DSCBCAPS_WAVEMAPPED The Win32 wave mapper will be used for formats not supported by the device.
  • dwBufferBytes
    Size of capture buffer to create, in bytes.
  • dwReserved
    Reserved for future use.
  • lpwfxFormat
    Pointer to a WAVEFORMATEX structure containing the format in which to capture the data.

Requirements

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dsound.h.

See Also

IDirectSoundCapture::CreateCaptureBuffer

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.