Microsoft just released a big feature update to the release preview track that adds native MIDI services support as KB5074105. as it is a 'release preview' you will need to switch windows update to the release preview track.
https://blogs.windows.com/windows-insider/2026/01/27/releasing-windows-11-builds-26100-7701-and-26200-7701-to-the-release-preview-channel/
there is also a full website concerning the new feature.
https://microsoft.github.io/MIDI/
the tools and SDK pack have yet to be released. in the mean time, they have an enablement checking tool to see if MIDI is enabled yet or not on your system.
Not sure if this will help any older apps like dosbox or older games that might use MIDI feautres (like Bioshock 2's support of Creative labs X-Fi midi soundfonts, but the update would definitely help those who have something like a musical keyboard hooked up to their computer that uses MIDI.
from the MS midi website:
Windows MIDI Services is the new and greatly improved MIDI stack for Windows, supporting both MIDI 1.0 and MIDI 2.0.
Windows MIDI Services brings MIDI 2.0, multi-client (multiple apps using the same device) MIDI 1.0, app-to-app MIDI, faster USB transports, built-in loopback MIDI, and much more. The Runtime and tools enable applications to use this new API, and for you to be able to configure, customize, and troubleshoot your MIDI setup.
At the very least this should be of some use to the OP of this thread.