I posted this in the XP Embedded forum but so far nobody has answered. Thought I'd give it a go here.
Can anyone give a quick description of how to kick off a "Scan for Hardware Changes" operation like the one that is available in Device Manager? My application is for XP Embedded but I'm pretty sure it'd be the same for standard desktop XP applications.
I have an IDE CD-ROM attached to my SBC that can be powered off and on by a temperature sensor/controller when the unit gets out of temperature specs. It's possible that the unit can boot up with the CD-ROM powered off and then be powered on at a later time when it reaches ambient temperature. When it is powered back on by the temperature controller, Windows XPe isn't recognizing that it has come back to life. But if I do a "Scan for Hardware Changes" in Device Manger then it comes back and my program receives a DeviceChange / DEVICEARRIVAL event.
Anyone know how to initiate this operation in Visual C++?? I'm really trying to not have to reboot the unit.
Thanks in advance!
-Russell