mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -3573,7 +3573,7 @@ HKEY WINAPI SetupDiOpenClassRegKeyExW(
|
||||
samDesired,
|
||||
&hClassesKey)))
|
||||
{
|
||||
SetLastError(l);
|
||||
SetLastError(ERROR_INVALID_CLASS);
|
||||
hClassesKey = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
if (MachineName != NULL)
|
||||
|
||||
Reference in New Issue
Block a user