Fixed registry query error value: now returns ERROR_FILE_NOT_FOUND.

This commit is contained in:
Gavriel State 1998-11-30 12:43:34 +00:00 committed by Alexandre Julliard
parent a38d84d854
commit d290aa4488

View File

@ -2166,7 +2166,7 @@ DWORD WINAPI RegQueryValueEx32W( HKEY hkey, LPWSTR lpValueName,
TRACE(reg, "Returning an empty string\n");
return ERROR_SUCCESS;
}
return ERROR_BAD_PATHNAME;
return ERROR_FILE_NOT_FOUND;
}
if (lpdwType)