waveOutRestart(3mms) — Subroutines
Name
waveOutRestart --- Restart audio playback
Syntax
#include <mme/mme_api.h>
MMRESULT waveOutRestart(HWAVEOUT hWaveOut)
Arguments
HWAVEOUT hWaveOut
Specifies a handle to a waveform audio output device.
Description
The waveOutRestart function restarts playback on the specified paused waveform audio output device. Calling the waveOutRestart function when the output is not paused has no effect, and the function returns MMSYSERR_NOERROR.
Extensions
None.
Return Values
Returns MMSYSERR_NOERROR if the function is successful; otherwise, it returns one of the following error codes:
MMSYSERR_INVALHANDLE@T{ The specified device handle is invalid. T} MMSYSERR_HANDLEBUSY@T{ The handle hWaveOut is in use on another thread. T}