Microsoft Windows CE 3.0  

IDsDriverBuffer::SetPosition

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::SetPositionmethod moves the sound buffer's play cursor to the specified offset.

HRESULT SetPosition(
DWORD
dwNewPosition
);

Parameters

dwNewPosition
Specifies the new position of the play cursor.

Return Values

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