Windows: CreateFile on a USB device doesn’t wake up suspended device
Our C++ application periodically checks for the presence of a USB device as a licensing mechanism. However, on Win11, USB devices now default to “Allow the computer to turn off this device to save power”. This is causing the required USB device to become invisible to our app, even though it is still plugged in.