Microsoft Windows CE 3.0  

IDsDriverBuffer::Play

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::Playmethod causes the sound buffer to start playing from the current position.

HRESULT Play(
DWORD
dwReserved1
,
DWORD
dwReserved2
,
DWORD
dwFlags
);

Parameters

dwReserved1
This parameter is reserved for future use, and must not be used or accessed for this release.
dwReserved2
This parameter is reserved for future use, and must not be used or accessed for this release.
dwFlags
Indicates how to play the buffer.
DSBPLAY_LOOPING
Play indefinitely, looping back to the beginning of the buffer when the end is reached. If this flag is not specified, the buffer stops playing when it reaches the end of the buffer memory.

Return Values

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