DSDM_STOP
This message causes the sound buffer to stop playing.
typedef struct {
DWORD dwMsg;
DWORD dwInstance;
} DSDMP_STOP;
Members
- dwMsg
Equals DSDM_STOP. - dwInstance
DirectSoundBuffer instance data.
Return Values
Returns DS_OK if successful, or one of the following error values otherwise.
Error value | Description |
---|---|
DSERR_INVALIDCALL | This call is not valid for the current state of this object. |
DSERR_INVALIDPARAM | An invalid parameter was passed to the returning function. |
Remarks
The driver should set the current position of the buffer to the sample after the last sample played. It should not be reset to zero.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Dsdriver.h.
See Also
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.