mirror of
https://github.com/reactos/reactos.git
synced 2024-08-12 06:06:27 +00:00
- Return correct byte size
- Fixes 3 wine test failures svn path=/trunk/; revision=40296
This commit is contained in:
parent
63de8c6dce
commit
47bdeaf2b9
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue