Is there any way to trigger device refresh from NDIS/WDM driver, similar to what we do manually in the Device Manager scan for hardware changes
?
I’d be interested to hear what problem you’re trying to solve.
No. Device installation stuff is a user-mode activity. You can look at the source code for “devcon rescan” to see how they do it.
Use a UM service and an inverted call