waveOutRestart

Syntax

WORD waveOutRestart(hWaveOut)

This function restarts a paused waveform output device.

Parameters

HWAVEOUT 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:

MMSYSERR_INVALHANDLE

Specified device handle is invalid.

Comments

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

See Also

waveOutPause, waveOutBreakLoop