Windows: Add SetupAPI error handling