auxOutMessage

The auxOutMessage function sends a message to the given auxiliary output device. This function also performs error checking on the device identifier passed as part of the message.

DWORD auxOutMessage(
  UINT       uDeviceID, 
  UINT       uMsg,      
  DWORD_PTR  dwParam1,  
  DWORD_PTR  dwParam2   
);

Parameters

uDeviceID

Identifier of the auxiliary output device to receive the message.

uMsg

Message to send.

dwParam1

Message parameter.

dwParam2

Message parameter.

Return Values

Returns the message return value.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Mmsystem.h; include Windows.h.
**  Library:** Use Winmm.lib.

See Also

Waveform Audio, Waveform Functions