Commit 5ff5c703 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

setupapi: Treat DIGCF_ALLCLASSES as if a NULL device class was given.

parent 301f66bf
......@@ -2448,6 +2448,9 @@ HDEVINFO WINAPI SetupDiGetClassDevsExW(const GUID *class, PCWSTR enumstr, HWND p
SetLastError(ERROR_INVALID_PARAMETER);
return INVALID_HANDLE_VALUE;
}
if (flags & DIGCF_ALLCLASSES)
class = NULL;
if (flags & unsupportedFlags)
WARN("unsupported flags %08x\n", flags & unsupportedFlags);
if (deviceset)
......
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