HRESULT AudioStop(WORD wReason);
Notifies the engine that no more data will be played on the audio-destination device for an indefinite period of time.
· Return value is ignored.
wReason
[in] Reason that the audio has stopped. This parameter can be one of these values:
Value | Meaning |
IANSRSN_EOF | An end-of-file character has been reached. |
IANSRSN_INACTIVE | The device has become inactive for an unknown reason. |
IANSRSN_NODATA | The engine called the IAudio::UnClaim member function. This notification allows the engine to employ the notification sink to monitor the object's state rather than having to maintain this information itself. |
IANSRSN_PRIORITY | Resources were temporarily diverted to a higher-priority task. |