shell32: Implement GUIDFromStringW.

This commit is contained in:
Hans Leidekker 2009-01-15 09:59:29 +01:00 committed by Alexandre Julliard
parent e6fedf879c
commit 2d15dd54c6
2 changed files with 14 additions and 0 deletions

View File

@ -253,6 +253,8 @@
660 stdcall -noname FileIconInit(long) 660 stdcall -noname FileIconInit(long)
680 stdcall -noname IsUserAdmin() 680 stdcall -noname IsUserAdmin()
704 stdcall -noname GUIDFromStringW(wstr ptr)
714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW 714 stdcall @(ptr) SHELL32_714 # PathIsTemporaryW
730 stdcall -noname RestartDialogEx(long wstr long long) 730 stdcall -noname RestartDialogEx(long wstr long long)

View File

@ -33,6 +33,7 @@
#include "winreg.h" #include "winreg.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "winnls.h" #include "winnls.h"
#include "winternl.h"
#include "shellapi.h" #include "shellapi.h"
#include "objbase.h" #include "objbase.h"
@ -1527,6 +1528,17 @@ BOOL WINAPI shell32_243(DWORD a, DWORD b)
return FALSE; 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] * @ [SHELL32.714]
*/ */