mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +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:
parent
0ca8d1847a
commit
d2d5e1d48e
2 changed files with 13 additions and 0 deletions
|
@ -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]
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue