I'm writing a user-mode MIDI driver which creates multiple virtual MIDI ports.
The driver can change number of ports on configuration change. But now the user application can only see new ports after restart. How can a user-mode driver notify application to refresh MIDI ports?
The driver is an Installable Drivers
, and use Audio Device Messages for MIDI
to create MIDI ports.
[Installable Drivers](https://learn.microsoft.com/en-us/windows/win32/multimedia/installable-drivers)
[Audio Device Messages for MIDI](https://learn.microsoft.com/en-us/windows-hardware/drivers/audio/audio-device-messages-for-midi)