equal
deleted
inserted
replaced
|
1 #ifndef _SDDL_H |
|
2 #define _SDDL_H |
|
3 #if __GNUC__ >= 3 |
|
4 #pragma GCC system_header |
|
5 #endif |
|
6 |
|
7 #ifndef WINADVAPI |
|
8 #define WINADVAPI |
|
9 #endif |
|
10 |
|
11 #ifdef __cplusplus |
|
12 extern "C" { |
|
13 #endif |
|
14 |
|
15 #if (WINVER >= 0x0500) |
|
16 WINADVAPI BOOL WINAPI ConvertSidToStringSidA(PSID Sid, LPSTR* StringSid); |
|
17 WINADVAPI BOOL WINAPI ConvertSidToStringSidW(PSID Sid, LPWSTR* StringSid); |
|
18 #endif |
|
19 |
|
20 #ifdef UNICODE |
|
21 #define ConvertSidToStringSid ConvertSidToStringSidW |
|
22 #else |
|
23 #define ConvertSidToStringSid ConvertSidToStringSidA |
|
24 #endif |
|
25 |
|
26 #ifdef __cplusplus |
|
27 } |
|
28 #endif |
|
29 |
|
30 #endif /* _SDDL_H */ |