waveOutReset

Syntax

WORD waveOutReset(hWaveOut)

This function stops playback on a given waveform output device and resets the
current position to 0. All pending playback buffers are marked as done and returned
to the application.

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.

See Also

waveOutWrite, waveOutClose