mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- Return correct byte size
- Fixes 3 wine test failures svn path=/trunk/; revision=40296
This commit is contained in:
@@ -4225,11 +4225,11 @@ RegQueryValueA(HKEY hKey,
|
||||
RtlUnicodeStringToAnsiString(&AnsiString,
|
||||
&Value,
|
||||
FALSE);
|
||||
*lpcbValue = ValueSize;
|
||||
*lpcbValue = ValueSize / sizeof(WCHAR);
|
||||
}
|
||||
else if (lpcbValue != NULL)
|
||||
{
|
||||
*lpcbValue = ValueSize;
|
||||
*lpcbValue = ValueSize / sizeof(WCHAR);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user