mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 04:19:21 +08:00
* include/sddl.h (ConvertStringSidToSidA): Define.
(ConvertStringSidToSidW): Define. (ConvertStringSidToSid): Define.
This commit is contained in:
parent
1d0a4e1490
commit
3a3992087e
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user