Group: Windows Multimedia - Library: winmm
The waveOutReset function stops playback on the given waveform-audio output device and resets the current position to zero. All pending playback buffers are marked as done and returned to the application.
WAV file player
Playing WAV sounds simultaneously
MMRESULT waveOutReset(
HWAVEOUT hwo
);
DECLARE INTEGER waveOutReset IN winmm;
INTEGER hwo
hwo Handle to the waveform-audio output device returned by waveOutOpen.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.