Microsoft Windows CE 3.0  

IDsDriverBuffer::GetPosition

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::GetPositionmethod is called when DirectSound is querying the current position of the specified sound buffer.

HRESULT GetCurrentPosition(
LPDWORD
lpdwCurrentPlayCursor
,
LPDWORD
lpdwCurrentWriteCursor
);

Parameters

lpdwCurrentPlayCursor
Pointer to a doubleword into which the driver should write the current play cursor.
lpdwCurrentWriteCursor
Pointer to a doubleword into which the driver should write the current write cursor.

Return Values

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