Commit ab92627e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

setupapi: SetupDiCreateDeviceInfoListEx returns INVALID_HANDLE_VALUE on error.

parent afa912b4
...@@ -2348,7 +2348,7 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *class, PCWSTR enumstr, HWND p ...@@ -2348,7 +2348,7 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *class, PCWSTR enumstr, HWND p
set = deviceset; set = deviceset;
else else
set = SetupDiCreateDeviceInfoListExW(class, parent, machine, reserved); set = SetupDiCreateDeviceInfoListExW(class, parent, machine, reserved);
if (set) if (set != INVALID_HANDLE_VALUE)
{ {
if (machine && *machine) if (machine && *machine)
FIXME("%s: unimplemented for remote machines\n", FIXME("%s: unimplemented for remote machines\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment