waveOutMessage

The waveOutMessage function sends messages to the waveform-audio output device drivers.

DWORD waveOutMessage(
  HWAVEOUT hwo,   
  UINT uMsg,      
  DWORD dwParam1, 
  DWORD dwParam2  
);
 

Parameters

hwo
Handle of the waveform-audio output device.
uMsg
Message to send.
dwParam1 and dwParam2
Message parameters.

Return Values

Returns the value returned from the driver.

QuickInfo

  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.

See Also

Waveform Audio Overview, Waveform Functions