Microsoft Windows CE 3.0  

DSCBUFFERDESC

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The DSCBUFFERDESCstructure is used by the IDirectSoundCapture::CreateCaptureBuffermethod.

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 WAVEFORMATEXstructure containing the format in which to capture the data.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. dsound.h    
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.