waveOutRestart

  MMRESULT waveOutRestart(hWaveOut)    
  HWAVEOUT hWaveOut;    

The waveOutRestart function restarts a paused waveform output device.

Parameters

hWaveOut

Specifies a handle to the waveform output device.

Return Value

Returns zero if the function was successful. Otherwise, it returns an error number. Possible error returns are:

Value Meaning

MMSYSERR_INVALHANDLE Specified device handle is invalid.
MMSYSERR_HANDLEBUSY The handle hWaveOut is in use on another thread.

Comments

Calling this function when the output is not paused has no effect, and the function returns zero.

See Also

waveOutPause, waveOutBreakLoop