aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-04-11 11:36:41 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-04-11 11:36:41 +0000
commit3a3992087e58dd8f513c11f661c00db0ddc7d338 (patch)
treece30b179bfc351f44df124060ceebf78e9d75c0e /winsup/w32api/include
parent1d0a4e1490bd16469c07c7da139e6078e7c2aa48 (diff)
downloadnewlib-3a3992087e58dd8f513c11f661c00db0ddc7d338.zip
newlib-3a3992087e58dd8f513c11f661c00db0ddc7d338.tar.gz
newlib-3a3992087e58dd8f513c11f661c00db0ddc7d338.tar.bz2
* include/sddl.h (ConvertStringSidToSidA): Define.
(ConvertStringSidToSidW): Define. (ConvertStringSidToSid): Define.
Diffstat (limited to 'winsup/w32api/include')
-rwxr-xr-xwinsup/w32api/include/sddl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/winsup/w32api/include/sddl.h b/winsup/w32api/include/sddl.h
index 66590b8..093c6dd 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