mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
Fix 2 setupapi:devclass tests
svn path=/trunk/; revision=41072
This commit is contained in:
parent
2ed0fa8b02
commit
758a04d9d9
1 changed files with 1 additions and 1 deletions
|
@ -3560,7 +3560,7 @@ HKEY WINAPI SetupDiOpenClassRegKeyExW(
|
|||
else
|
||||
{
|
||||
ERR("Invalid Flags parameter!\n");
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
SetLastError(ERROR_INVALID_FLAGS);
|
||||
if (MachineName != NULL) RegCloseKey(HKLM);
|
||||
return INVALID_HANDLE_VALUE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue