NOW LOADING

MidiMessageStruct


Represents a MIDI message in struct format
Namespace Windows.Devices.Midi2
Type Name MidiMessageStruct
Type WinRT Struct
IDL MidiMessageStruct.idl

MidiMessageStruct is a plain value type with room for four 32-bit words, which is enough for any message. Use it when you want a fixed-size value for sending and receiving messages. When a function fills one in with an incoming message, it returns how many of the words are valid. Because it’s simpler than the message classes, it can be faster in some languages. It doesn’t hold a timestamp, so functions that use it take the timestamp separately.

Struct Fields

Field Description
Word0 First 32-bit MIDI word
Word1 Second 32-bit MIDI word
Word2 Third 32-bit MIDI word
Word3 Fourth 32-bit MIDI word

Didn't find what you were looking for?

Windows MIDI Services is an open source project with all source available on GitHub. We have a great community on Discord as well. Between GitHub and Discord, you should find the information you are looking for.