waveOutPause(3mms) — Subroutines
Name
waveOutPause --- Pause audio playback
Syntax
#include <mme/mme_api.h>
MMRESULT waveOutPause(HWAVEOUT hWaveOut)
Arguments
HWAVEOUT hWaveOut
Specifies a handle to a waveform audio output device.
Description
The waveOutPause function pauses playback on the specified waveform audio output device. The current playback position is saved. Call the waveOutRestart function to resume playback from the current playback position.
Calling the waveOutPause function when the output is already 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}