NOW LOADING

MidiApiContracts


API contracts used by the Windows MIDI Services WinRT API namespaces
Namespace Windows.Devices.Midi2
Type Name MidiApiContracts
Type Apicontract
IDL MidiApiContracts.idl

Each Windows MIDI Services WinRT API namespace has its own API contract, and the contract’s version goes up when the namespace changes. Your application can check for a contract version with Windows.Foundation.Metadata.ApiInformation.IsApiContractPresent before it uses a namespace, so it keeps working on a PC that has an older version of the API.

Contracts

Contract Namespace
MidiCoreApiContract Windows.Devices.Midi2
MidiCapabilityInquiryApiContract Windows.Devices.Midi2.CapabilityInquiry
MidiClientPluginsApiContract Windows.Devices.Midi2.ClientPlugins
MidiDiagnosticsApiContract Windows.Devices.Midi2.Diagnostics
MidiEnumerationApiContract Windows.Devices.Midi2.Enumeration
MidiEnumerationLegacyApiContract Windows.Devices.Midi2.Enumeration.Legacy
MidiReportingApiContract Windows.Devices.Midi2.Reporting
MidiServiceConfigApiContract Windows.Devices.Midi2.ServiceConfig
MidiTransportsLoopbackApiContract Windows.Devices.Midi2.Transports.Loopback
MidiTransportsBasicLoopbackApiContract Windows.Devices.Midi2.Transports.BasicLoopback
MidiTransportsVirtualApiContract Windows.Devices.Midi2.Transports.Virtual
MidiTransportsNetworkApiContract Windows.Devices.Midi2.Transports.Network
MidiTransportsBluetoothApiContract Windows.Devices.Midi2.Transports.Bluetooth
MidiTransportsSynthApiContract Windows.Devices.Midi2.Transports.Synth
MidiTransportsRtpApiContract Windows.Devices.Midi2.Transports.Rtp
MidiMessageUtilityApiContract Windows.Devices.Midi2.Utilities.Messages
MidiSysExTransferUtilityApiContract Windows.Devices.Midi2.Utilities.SysExTransfer
MidiSequencingUtilityApiContract Windows.Devices.Midi2.Utilities.Sequencing
MidiFilesUtilityApiContract Windows.Devices.Midi2.Utilities.Files

Remarks

All contracts above are currently versioned at 1 in the IDL.

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.