Commit 1b023ff6 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

setupapi: Implement SetupDiGetClassDevsA on top of SetupDiGetClassDevsExW.

parent e45f8409
...@@ -1761,7 +1761,8 @@ HDEVINFO WINAPI SetupDiGetClassDevsA( ...@@ -1761,7 +1761,8 @@ HDEVINFO WINAPI SetupDiGetClassDevsA(
} }
MultiByteToWideChar(CP_ACP, 0, enumstr, -1, enumstrW, len); MultiByteToWideChar(CP_ACP, 0, enumstr, -1, enumstrW, len);
} }
ret = SetupDiGetClassDevsW(class, enumstrW, parent, flags); ret = SetupDiGetClassDevsExW(class, enumstrW, parent, flags, NULL, NULL,
NULL);
HeapFree(GetProcessHeap(), 0, enumstrW); HeapFree(GetProcessHeap(), 0, enumstrW);
end: end:
......
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