4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* include/sddl.h (ConvertStringSidToSidA): Define.

(ConvertStringSidToSidW): Define.
	(ConvertStringSidToSid): Define.
This commit is contained in:
Corinna Vinschen 2008-04-11 11:36:41 +00:00
parent 1d0a4e1490
commit 3a3992087e
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2008-04-11 Corinna Vinschen <corinna@vinschen.de>
* include/sddl.h (ConvertStringSidToSidA): Define.
(ConvertStringSidToSidW): Define.
(ConvertStringSidToSid): Define.
2008-03-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/mprapi.h: Add guard for MprAdminAcceptReauthentication function

View File

@ -15,12 +15,16 @@ extern "C" {
#if (WINVER >= 0x0500)
WINADVAPI BOOL WINAPI ConvertSidToStringSidA(PSID Sid, LPSTR* StringSid);
WINADVAPI BOOL WINAPI ConvertSidToStringSidW(PSID Sid, LPWSTR* StringSid);
WINADVAPI BOOL WINAPI ConvertStringSidToSidA(LPSTR StringSid, PSID *Sid);
WINADVAPI BOOL WINAPI ConvertStringSidToSidW(LPWSTR StringSid, PSID *Sid);
#endif
#ifdef UNICODE
#define ConvertSidToStringSid ConvertSidToStringSidW
#define ConvertStringSidToSid ConvertStringSidToSidW
#else
#define ConvertSidToStringSid ConvertSidToStringSidA
#define ConvertStringSidToSid ConvertStringSidToSidA
#endif
#ifdef __cplusplus