|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::Stopmethod causes the sound buffer to stop playing.
HRESULT Stop( );
Returns DS_OK if successful, or one of the following error values otherwise:
For primary buffers, the driver should set the current position to zero (the beginning of the buffer) when this method is called. For secondary buffers, the driver should set the current position of the buffer to the sample after the last sample played (don't reset it to zero).
Last updated on Tuesday, July 13, 2004