Microsoft Windows CE 3.0  

IDsDriverBuffer::SetFormat

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 IDsDriverBuffer::SetFormatmethod sets the format of the primary sound buffer to the format described in the WAVEFORMATEXstructure.

HRESULT SetFormat(
LPWAVEFORMATEX
pwfxToSet
);

Parameters

pwfxToSet
Pointer to a WAVEFORMATEXstructure that describes the new format desired for the primary sound buffer.

Return Values

Returns DS_OK if successful, or one of the following error values otherwise: