Commit a359e026 authored by Serge Gautherie's avatar Serge Gautherie Committed by Alexandre Julliard

advpack: RegQueryValueExW() wants bytes, not chars.

parent 032190ac
......@@ -907,7 +907,7 @@ HRESULT WINAPI UserInstStubWrapperW(HWND hWnd, HINSTANCE hInstance,
{
HKEY setup, guid;
WCHAR stub[MAX_PATH];
DWORD size = MAX_PATH;
DWORD size = sizeof(stub);
HRESULT hr = S_OK;
BOOL res;
......
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