shell32: Pass size in bytes to RegGetValueW.

This commit is contained in:
Alex Henrie 2024-07-02 23:40:00 -06:00 committed by Alexandre Julliard
parent 55525875a5
commit 00759195cc

View file

@ -588,7 +588,7 @@ static HRESULT SHELL32_CreateExtensionUIObject(IShellFolder2 *iface,
IPersistFile *persist_file;
char extensionA[20];
WCHAR extensionW[20], buf[MAX_PATH];
DWORD size = MAX_PATH;
DWORD size = sizeof(buf);
STRRET path;
WCHAR *file;
GUID guid;