NOW LOADING

MidiMessageStruct


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

MidiMessageStruct is provided for cases where the API consumer wants to have a fixed value type they can use to send and receive messages. In the case of receiving messages, a function which fills the struct will typically return a count of valid words. The MidiMessageStruct struct type is simpler than the other runtime class types and may therefore perform better in some projections and for some uses. Note that this type does not include the timestamp field.

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.