advpack: RegQueryValueExW() wants bytes, not chars.
Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
032190ac91
commit
a359e02666
|
@ -907,7 +907,7 @@ HRESULT WINAPI UserInstStubWrapperW(HWND hWnd, HINSTANCE hInstance,
|
||||||
{
|
{
|
||||||
HKEY setup, guid;
|
HKEY setup, guid;
|
||||||
WCHAR stub[MAX_PATH];
|
WCHAR stub[MAX_PATH];
|
||||||
DWORD size = MAX_PATH;
|
DWORD size = sizeof(stub);
|
||||||
HRESULT hr = S_OK;
|
HRESULT hr = S_OK;
|
||||||
BOOL res;
|
BOOL res;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue