The waveOutMessage function sends messages to the waveform-audio output device drivers.
DWORD waveOutMessage(
HWAVEOUT hwo,
UINT uMsg,
DWORD dwParam1,
DWORD dwParam2
);
Returns the value returned from the driver.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 2.0 or later.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Waveform Audio Overview, Waveform Functions