midiOutMessage function
The midiOutMessage function sends a message to the MIDI device drivers. This function is used only for driver-specific messages that are not supported by the MIDI API.
Syntax
DWORD midiOutMessage( HMIDIOUT deviceID, UINT msg, DWORD_PTR dw1, DWORD_PTR dw2 );
Parameters
- deviceID
-
Identifier of the MIDI device that receives the message. You must cast the device ID to the HMIDIOUT handle type. If you supply a handle instead of a device ID, the function fails and returns the MMSYSERR_NOSUPPORT error code.
- msg
-
Message to send.
- dw1
-
Message parameter.
- dw2
-
Message parameter.
Return value
Returns the value returned by the audio device driver.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also
Build date: 10/27/2012