Group: Windows Multimedia - Library: winmm
WAV file player
Playing WAV sounds simultaneously
MMRESULT waveOutClose(
HWAVEOUT hwo
);
DECLARE INTEGER waveOutClose IN winmm;
INTEGER hwo
hwo Handle to the waveform-audio output device. If the function succeeds, the handle is no longer valid after this call.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
If the device is still playing a waveform-audio file, the close operation fails. Use the waveOutReset function to terminate playback before calling waveOutClose.