Reinstate a lot of the original build environment
[msysgit.git] / mingw / include / sddl.h
blob66590b8e6f7e6ff51aaeab1fcad9977ee270dbd7
1 #ifndef _SDDL_H
2 #define _SDDL_H
3 #if __GNUC__ >= 3
4 #pragma GCC system_header
5 #endif
7 #ifndef WINADVAPI
8 #define WINADVAPI
9 #endif
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
15 #if (WINVER >= 0x0500)
16 WINADVAPI BOOL WINAPI ConvertSidToStringSidA(PSID Sid, LPSTR* StringSid);
17 WINADVAPI BOOL WINAPI ConvertSidToStringSidW(PSID Sid, LPWSTR* StringSid);
18 #endif
20 #ifdef UNICODE
21 #define ConvertSidToStringSid ConvertSidToStringSidW
22 #else
23 #define ConvertSidToStringSid ConvertSidToStringSidA
24 #endif
26 #ifdef __cplusplus
28 #endif
30 #endif /* _SDDL_H */