This is already present in JUCE’s develop branch, although you will need to have the Windows MIDI SDK installed, and you’ll also need to include the Windows MIDI Services nuget package in your build. You can currently get the package from the project’s Releases page. You’ll also need to set the JUCE_NEEDS_WINDOWS_MIDI_SERVICES module configuration flag to 1.