midiOutShortMsg

[DllImport("winmm.dll", SetLastError = true)]
public static extern uint midiOutShortMsg(
   IntPtr hmo,
   uint dwMsg
);

Microsoft documentation: Link

Last updated