Commit d290aa44 authored by Gavriel State's avatar Gavriel State Committed by Alexandre Julliard

Fixed registry query error value: now returns ERROR_FILE_NOT_FOUND.

parent a38d84d8
......@@ -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)
......
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