The MIDI 1.0 Specification allows the use of running-status when a message has the same status byte as the previous message. When running status is used, the status byte of subsequent messages can be omitted. You can send MIDI messages using running status with the midiOutShortMsg function by packing the message into a DWORD, as shown in the following illustration:
This illustration is not available for this release