NOW LOADING

MidiApi


Class used for API information and startup
Namespace Windows.Devices.Midi2
Type Name MidiApi
Type WinRT Runtime Class
IDL MidiApi.idl

Use MidiApi to check that Windows MIDI Services is ready before your application starts using it.

Static Methods

Static Method Description
EnsureServiceAvailable() Connects to the MIDI service, starting it if it isn’t already running, and returns true if the service answered. Returns false when the PC is in Legacy API mode, because Windows MIDI Services isn’t in use then. Call this before you create a session. Because it can start the service, don’t use it just to show whether the service is running
GetCurrentlySelectedApiMode() Returns the MidiApiMode this PC is set to use

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.