diff options
Diffstat (limited to 'winsup/w32api')
-rw-r--r-- | winsup/w32api/ChangeLog | 6 | ||||
-rwxr-xr-x | winsup/w32api/include/sddl.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/winsup/w32api/ChangeLog b/winsup/w32api/ChangeLog index c16a8abd6..23f22cccb 100644 --- a/winsup/w32api/ChangeLog +++ b/winsup/w32api/ChangeLog @@ -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 diff --git a/winsup/w32api/include/sddl.h b/winsup/w32api/include/sddl.h index 66590b8e6..093c6dd65 100755 --- a/winsup/w32api/include/sddl.h +++ b/winsup/w32api/include/sddl.h @@ -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 |