waveOutMessage

  MMRESULT waveOutMessage(hWaveOut, msg, dw1, dw2)    
  HWAVEOUT hWaveOut;    
  UINT msg;    
  DWORD dw1;    
  DWORD dw2;    

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

Parameters

hWaveOut

The handle to the audio device.

msg

The message to send.

dw1

Parameter 1.

dw2

Parameter 2.

Return Value

Returns the value returned from the driver.