mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 14:30:57 +00:00
- SetupDiOpenClassRegKeyExW should ERROR_INVALID_CLASS when it fails
- TODO: NtOpenKey should fail when acessMask == 0 and a registry path is passed svn path=/trunk/; revision=41422
This commit is contained in:
parent
66128d2725
commit
2a1067133d
1 changed files with 1 additions and 1 deletions
|
@ -3573,7 +3573,7 @@ HKEY WINAPI SetupDiOpenClassRegKeyExW(
|
|||
samDesired,
|
||||
&hClassesKey)))
|
||||
{
|
||||
SetLastError(l);
|
||||
SetLastError(ERROR_INVALID_CLASS);
|
||||
hClassesKey = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
if (MachineName != NULL)
|
||||
|
|
Loading…
Reference in a new issue