Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/secext.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 /** | |
| 2 * This file has no copyright assigned and is placed in the Public Domain. | |
| 3 * This file is part of the w64 mingw-runtime package. | |
| 4 * No warranty is given; refer to the file DISCLAIMER within this package. | |
| 5 */ | |
| 6 #ifndef __SECEXT_H__ | |
| 7 #define __SECEXT_H__ | |
| 8 | |
| 9 #include "sspi.h" | |
| 10 | |
| 11 #ifdef __cplusplus | |
| 12 extern "C" { | |
| 13 #endif | |
| 14 | |
| 15 typedef enum { | |
| 16 NameUnknown = 0,NameFullyQualifiedDN = 1,NameSamCompatible = 2,NameDisplay = 3,NameUniqueId = 6,NameCanonical = 7,NameUserPrincipal = 8, | |
| 17 NameCanonicalEx = 9,NameServicePrincipal = 10,NameDnsDomain = 12 | |
| 18 } EXTENDED_NAME_FORMAT,*PEXTENDED_NAME_FORMAT; | |
| 19 | |
| 20 #ifdef UNICODE | |
| 21 #define GetUserNameEx GetUserNameExW | |
| 22 #define GetComputerObjectName GetComputerObjectNameW | |
| 23 #define TranslateName TranslateNameW | |
| 24 #else | |
| 25 #define GetUserNameEx GetUserNameExA | |
| 26 #define GetComputerObjectName GetComputerObjectNameA | |
| 27 #define TranslateName TranslateNameA | |
| 28 #endif | |
| 29 | |
| 30 BOOLEAN SEC_ENTRY GetUserNameExA(EXTENDED_NAME_FORMAT NameFormat,LPSTR lpNameBuffer,PULONG nSize); | |
| 31 BOOLEAN SEC_ENTRY GetUserNameExW(EXTENDED_NAME_FORMAT NameFormat,LPWSTR lpNameBuffer,PULONG nSize); | |
| 32 BOOLEAN SEC_ENTRY GetComputerObjectNameA(EXTENDED_NAME_FORMAT NameFormat,LPSTR lpNameBuffer,PULONG nSize); | |
| 33 BOOLEAN SEC_ENTRY GetComputerObjectNameW(EXTENDED_NAME_FORMAT NameFormat,LPWSTR lpNameBuffer,PULONG nSize); | |
| 34 BOOLEAN SEC_ENTRY TranslateNameA(LPCSTR lpAccountName,EXTENDED_NAME_FORMAT AccountNameFormat,EXTENDED_NAME_FORMAT DesiredNameFormat,LPSTR lpTranslatedName,PULONG nSize); | |
| 35 BOOLEAN SEC_ENTRY TranslateNameW(LPCWSTR lpAccountName,EXTENDED_NAME_FORMAT AccountNameFormat,EXTENDED_NAME_FORMAT DesiredNameFormat,LPWSTR lpTranslatedName,PULONG nSize); | |
| 36 | |
| 37 #ifdef __cplusplus | |
| 38 } | |
| 39 #endif | |
| 40 #endif |
