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.
Most of the advice above holds for 8.0.14. The work has been merged from develop into the master branch, but still requires some extra configuration/setup. You might find the steps described here helpful.
In short, you need the Windows MIDI Services SDK Runtime installed, and you also need the nuget packages for Windows MIDI Services and Cppwinrt installed. If you’re using the Projucer, you need to enable the JUCE_NEEDS_WINDOWS_MIDI_SERVICES module flag on juce_audio_devices, or if you’re using CMake, pass NEEDS_WINDOWS_MIDI_SERVICES TRUE to your juce_add_gui_app call.
Microsoft is currently working on moving the Windows MIDI Services SDK and API in-box. This means that, in the future, the nuget part of the setup should become unnecessary. At that point, I imagine we’ll just check the current Windows SDK at build-time and enable the MIDI Services if possible.