diff --git a/reactos/dll/win32/shell32/shell32.spec b/reactos/dll/win32/shell32/shell32.spec index da323432f82..672ec81dd81 100644 --- a/reactos/dll/win32/shell32/shell32.spec +++ b/reactos/dll/win32/shell32/shell32.spec @@ -255,6 +255,7 @@ 660 stdcall -noname FileIconInit(long) 680 stdcall IsUserAnAdmin() 701 stdcall CDefFolderMenu_Create2(ptr ptr long ptr ptr ptr long ptr ptr) + 704 stdcall -noname GUIDFromStringW(wstr ptr) 714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW 730 stdcall RestartDialogEx(long wstr long long) diff --git a/reactos/dll/win32/shell32/shellord.c b/reactos/dll/win32/shell32/shellord.c index 458b8ff7c79..c1e48dc9696 100644 --- a/reactos/dll/win32/shell32/shellord.c +++ b/reactos/dll/win32/shell32/shellord.c @@ -33,6 +33,7 @@ #include "winreg.h" #include "wine/debug.h" #include "winnls.h" +#include "winternl.h" #include "shellapi.h" #include "objbase.h" @@ -1575,6 +1576,17 @@ BOOL WINAPI shell32_243(DWORD a, DWORD b) return FALSE; } +/************************************************************************* + * GUIDFromStringW [SHELL32.704] + */ +BOOL WINAPI GUIDFromStringW(LPCWSTR str, LPGUID guid) +{ + UNICODE_STRING guid_str; + + RtlInitUnicodeString(&guid_str, str); + return !RtlGUIDFromString(&guid_str, guid); +} + /************************************************************************* * @ [SHELL32.714] */