ReHIPS forum

English Subforum => Developers' Blog => Topic started by: fixer on March 14, 2018, 02:39:24 PM

Title: [BUG] Frequent devices switching
Post by: fixer on March 14, 2018, 02:39:24 PM
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.