[BUG] Frequent devices switching

Started by fixer, March 14, 2018, 02:39:24 PM

Previous topic - Next topic

fixer

Devices can be programmatically disabled and enabled like in Device Manager using SetupDiCallClassInstaller API function. But sometimes when devices are frequently switched (not sure about all devices, this was observed for audio and video devices) it'll result in error. Technically no function returns error, everything seem to be OK, but really devices aren't switched. I haven't researched this issue in-depth, so if anyone took a look into the root of this, I'd be grateful for information for the sake of completeness.