From 3a3992087e58dd8f513c11f661c00db0ddc7d338 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 11 Apr 2008 11:36:41 +0000 Subject: [PATCH] * include/sddl.h (ConvertStringSidToSidA): Define. (ConvertStringSidToSidW): Define. (ConvertStringSidToSid): Define. --- winsup/w32api/ChangeLog | 6 ++++++ winsup/w32api/include/sddl.h | 4 ++++ 2 files changed, 10 insertions(+) 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 + + * include/sddl.h (ConvertStringSidToSidA): Define. + (ConvertStringSidToSidW): Define. + (ConvertStringSidToSid): Define. + 2008-03-19 Chris Sutcliffe * 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