Group: Windows Multimedia - Library: winmm
MMRESULT midiOutShortMsg(
HMIDIOUT hmo,
DWORD dwMsg
);
DECLARE INTEGER midiOutShortMsg IN Winmm;
INTEGER hmo,;
LONG dwMsg
hmo Handle to the MIDI output device. This parameter can also be the handle of a MIDI stream cast to HMIDIOUT.
dwMsg MIDI message. The message is packed into a DWORD value.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.
A MIDI output device must be open prior to calling this function.
Read about MIDI messages (second parameter in the call) on MIDI.org.
See also: midiOutOpen.