5 #pragma GCC system_header
13 #if (_WIN32_WINNT >= 0x0500)
17 NameFullyQualifiedDN
= 1,
18 NameSamCompatible
= 2,
22 NameUserPrincipal
= 8,
24 NameServicePrincipal
= 10,
26 } EXTENDED_NAME_FORMAT
, *PEXTENDED_NAME_FORMAT
;
28 BOOLEAN WINAPI
GetComputerObjectNameA(EXTENDED_NAME_FORMAT
,LPSTR
,PULONG
);
29 BOOLEAN WINAPI
GetComputerObjectNameW(EXTENDED_NAME_FORMAT
,LPWSTR
,PULONG
);
30 BOOLEAN WINAPI
GetUserNameExA(EXTENDED_NAME_FORMAT
,LPSTR
,PULONG
);
31 BOOLEAN WINAPI
GetUserNameExW(EXTENDED_NAME_FORMAT
,LPWSTR
,PULONG
);
32 BOOLEAN WINAPI
TranslateNameA(LPCSTR
,EXTENDED_NAME_FORMAT
,EXTENDED_NAME_FORMAT
,LPSTR
,PULONG
);
33 BOOLEAN WINAPI
TranslateNameW(LPCWSTR
,EXTENDED_NAME_FORMAT
,EXTENDED_NAME_FORMAT
,LPWSTR
,PULONG
);
36 #define GetComputerObjectName GetComputerObjectNameW
37 #define GetUserNameEx GetUserNameExW
38 #define TranslateName TranslateNameW
40 #define GetComputerObjectName GetComputerObjectNameA
41 #define GetUserNameEx GetUserNameExA
42 #define TranslateName TranslateNameA
45 #endif /* ! RC_INVOKED */
46 #endif /* _WIN32_WINNT >= 0x0500 */
52 #endif /* ! _SECEXT_H */