mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 12:23:28 +00:00
- Implement GUIDFromStringW. Based on http://www.winehq.org/pipermail/wine-cvs/2009-January/051920.html
svn path=/trunk/; revision=38820
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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]
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user