ReactOS  0.4.14-dev-41-g31d7680
ntsecapi.h
Go to the documentation of this file.
1 #ifndef _NTSECAPI_H
2 #define _NTSECAPI_H
3 
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7 #define KERB_WRAP_NO_ENCRYPT 0x80000001
8 #define LOGON_GUEST 1
9 #define LOGON_NOENCRYPTION 2
10 #define LOGON_CACHED_ACCOUNT 4
11 #define LOGON_USED_LM_PASSWORD 8
12 #define LOGON_EXTRA_SIDS 32
13 #define LOGON_SUBAUTH_SESSION_KEY 64
14 #define LOGON_SERVER_TRUST_ACCOUNT 128
15 #define LOGON_NTLMV2_ENABLED 256
16 #define LOGON_RESOURCE_GROUPS 512
17 #define LOGON_PROFILE_PATH_RETURNED 1024
18 #define LOGON_GRACE_LOGON 16777216
19 #define LSA_MODE_PASSWORD_PROTECTED 1
20 #define LSA_MODE_INDIVIDUAL_ACCOUNTS 2
21 #define LSA_MODE_MANDATORY_ACCESS 3
22 #define LSA_MODE_LOG_FULL 4
23 #define LSA_SUCCESS(x) ((LONG)(x)>=0)
24 #define MICROSOFT_KERBEROS_NAME_A "Kerberos"
25 #define MICROSOFT_KERBEROS_NAME_W L"Kerberos"
26 #define MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT 32
27 #define MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT 2048
28 #define MSV1_0_CHALLENGE_LENGTH 8
29 #define MSV1_0_CLEARTEXT_PASSWORD_ALLOWED 2
30 #define MSV1_0_CRED_LM_PRESENT 1
31 #define MSV1_0_CRED_NT_PRESENT 2
32 #define MSV1_0_CRED_VERSION 0
33 #define MSV1_0_DONT_TRY_GUEST_ACCOUNT 16
34 #define MSV1_0_LANMAN_SESSION_KEY_LENGTH 8
35 #define MSV1_0_MAX_NTLM3_LIFE 1800
36 #define MSV1_0_MAX_AVL_SIZE 64000
37 #define MSV1_0_MNS_LOGON 16777216
38 #define MSV1_0_NTLM3_RESPONSE_LENGTH 16
39 #define MSV1_0_NTLM3_OWF_LENGTH 16
40 #define MSV1_0_NTLM3_INPUT_LENGTH (sizeof(MSV1_0_NTLM3_RESPONSE)-MSV1_0_NTLM3_RESPONSE_LENGTH)
41 #define MSV1_0_OWF_PASSWORD_LENGTH 16
42 #define MSV1_0_PACKAGE_NAME "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"
43 #define MSV1_0_PACKAGE_NAMEW L"MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"
44 #define MSV1_0_PACKAGE_NAMEW_LENGTH sizeof(MSV1_0_PACKAGE_NAMEW)-sizeof(WCHAR)
45 #define MSV1_0_RETURN_USER_PARAMETERS 8
46 #define MSV1_0_RETURN_PASSWORD_EXPIRY 64
47 #define MSV1_0_RETURN_PROFILE_PATH 512
48 #define MSV1_0_SUBAUTHENTICATION_DLL_EX 1048576
49 #define MSV1_0_SUBAUTHENTICATION_DLL 0xff000000
50 #define MSV1_0_SUBAUTHENTICATION_DLL_SHIFT 24
51 #define MSV1_0_SUBAUTHENTICATION_DLL_RAS 2
52 #define MSV1_0_SUBAUTHENTICATION_DLL_IIS 132
53 #define MSV1_0_SUBAUTHENTICATION_FLAGS 0xff000000
54 #define MSV1_0_SUBAUTHENTICATION_KEY "System\\CurrentControlSet\\Control\\Lsa\\MSV1_0"
55 #define MSV1_0_SUBAUTHENTICATION_VALUE "Auth"
56 #define MSV1_0_TRY_GUEST_ACCOUNT_ONLY 256
57 #define MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY 1024
58 #define MSV1_0_UPDATE_LOGON_STATISTICS 4
59 #define MSV1_0_USE_CLIENT_CHALLENGE 128
60 #define MSV1_0_USER_SESSION_KEY_LENGTH 16
61 #define POLICY_VIEW_LOCAL_INFORMATION 1
62 #define POLICY_VIEW_AUDIT_INFORMATION 2
63 #define POLICY_GET_PRIVATE_INFORMATION 4
64 #define POLICY_TRUST_ADMIN 8
65 #define POLICY_CREATE_ACCOUNT 16
66 #define POLICY_CREATE_SECRET 32
67 #define POLICY_CREATE_PRIVILEGE 64
68 #define POLICY_SET_DEFAULT_QUOTA_LIMITS 128
69 #define POLICY_SET_AUDIT_REQUIREMENTS 256
70 #define POLICY_AUDIT_LOG_ADMIN 512
71 #define POLICY_SERVER_ADMIN 1024
72 #define POLICY_LOOKUP_NAMES 2048
73 #define POLICY_NOTIFICATION 4096
74 #define POLICY_READ (STANDARD_RIGHTS_READ|6)
75 #define POLICY_WRITE (STANDARD_RIGHTS_WRITE|2040)
76 #define POLICY_EXECUTE (STANDARD_RIGHTS_EXECUTE|2049)
77 #define POLICY_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED|4095)
78 #define POLICY_AUDIT_EVENT_UNCHANGED 0
79 #define POLICY_AUDIT_EVENT_SUCCESS 1
80 #define POLICY_AUDIT_EVENT_FAILURE 2
81 #define POLICY_AUDIT_EVENT_NONE 4
82 #define POLICY_AUDIT_EVENT_MASK 7
83 #define POLICY_LOCATION_LOCAL 1
84 #define POLICY_LOCATION_DS 2
85 #define POLICY_MACHINE_POLICY_LOCAL 0
86 #define POLICY_MACHINE_POLICY_DEFAULTED 1
87 #define POLICY_MACHINE_POLICY_EXPLICIT 2
88 #define POLICY_MACHINE_POLICY_UNKNOWN 0xFFFFFFFF
89 #define POLICY_QOS_SCHANEL_REQUIRED 1
90 #define POLICY_QOS_OUTBOUND_INTEGRITY 2
91 #define POLICY_QOS_OUTBOUND_CONFIDENTIALITY 4
92 #define POLICY_QOS_INBOUND_INTEGREITY 8
93 #define POLICY_QOS_INBOUND_CONFIDENTIALITY 16
94 #define POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE 32
95 #define POLICY_QOS_RAS_SERVER_ALLOWED 64
96 #define POLICY_QOS_DHCP_SERVER_ALLOWD 128
97 #define POLICY_KERBEROS_FORWARDABLE 1
98 #define POLICY_KERBEROS_PROXYABLE 2
99 #define POLICY_KERBEROS_RENEWABLE 4
100 #define POLICY_KERBEROS_POSTDATEABLE 8
101 #define SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE "PasswordChangeNotify"
102 #define SAM_INIT_NOTIFICATION_ROUTINE "InitializeChangeNotify"
103 #define SAM_PASSWORD_FILTER_ROUTINE "PasswordFilter"
104 #define SE_INTERACTIVE_LOGON_NAME TEXT("SeInteractiveLogonRight")
105 #define SE_NETWORK_LOGON_NAME TEXT("SeNetworkLogonRight")
106 #define SE_BATCH_LOGON_NAME TEXT("SeBatchLogonRight")
107 #define SE_SERVICE_LOGON_NAME TEXT("SeServiceLogonRight")
108 #define SE_DENY_INTERACTIVE_LOGON_NAME TEXT("SeDenyInteractiveLogonRight")
109 #define SE_DENY_NETWORK_LOGON_NAME TEXT("SeDenyNetworkLogonRight")
110 #define SE_DENY_BATCH_LOGON_NAME TEXT("SeDenyBatchLogonRight")
111 #define SE_DENY_SERVICE_LOGON_NAME TEXT("SeDenyServiceLogonRight")
112 #define SE_REMOTE_INTERACTIVE_LOGON_NAME TEXT("SeRemoteInteractiveLogonRight")
113 #define SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME TEXT("SeDenyRemoteInteractiveLogonRight")
114 #define TRUST_ATTRIBUTE_NON_TRANSITIVE 1
115 #define TRUST_ATTRIBUTE_UPLEVEL_ONLY 2
116 #define TRUST_ATTRIBUTE_TREE_PARENT 4194304
117 #define TRUST_ATTRIBUTES_VALID -16580609
118 #define TRUST_AUTH_TYPE_NONE 0
119 #define TRUST_AUTH_TYPE_NT4OWF 1
120 #define TRUST_AUTH_TYPE_CLEAR 2
121 #define TRUST_DIRECTION_DISABLED 0
122 #define TRUST_DIRECTION_INBOUND 1
123 #define TRUST_DIRECTION_OUTBOUND 2
124 #define TRUST_DIRECTION_BIDIRECTIONAL 3
125 #define TRUST_TYPE_DOWNLEVEL 1
126 #define TRUST_TYPE_UPLEVEL 2
127 #define TRUST_TYPE_MIT 3
128 #define TRUST_TYPE_DCE 4
129 
130 #define SCESTATUS_SUCCESS 0L
131 #define SCESTATUS_INVALID_PARAMETER 1L
132 #define SCESTATUS_RECORD_NOT_FOUND 2L
133 #define SCESTATUS_INVALID_DATA 3L
134 #define SCESTATUS_OBJECT_EXISTS 4L
135 #define SCESTATUS_BUFFER_TOO_SMALL 5L
136 #define SCESTATUS_PROFILE_NOT_FOUND 6L
137 #define SCESTATUS_BAD_FORMAT 7L
138 #define SCESTATUS_NOT_ENOUGH_RESOURCE 8L
139 #define SCESTATUS_ACCESS_DENIED 9L
140 #define SCESTATUS_CANT_DELETE 10L
141 #define SCESTATUS_PREFIX_OVERFLOW 11L
142 #define SCESTATUS_OTHER_ERROR 12L
143 #define SCESTATUS_ALREADY_RUNNING 13L
144 #define SCESTATUS_SERVICE_NOT_SUPPORT 14L
145 #define SCESTATUS_MOD_NOT_FOUND 15L
146 #define SCESTATUS_EXCEPTION_IN_SERVER 16L
147 #define SCESTATUS_NO_TEMPLATE_GIVEN 17L
148 #define SCESTATUS_NO_MAPPING 18L
149 #define SCESTATUS_TRUST_FAIL 19L
150 
151 #if !defined(_NTDEF_) && !defined(__WINE_WINTERNL_H)
153 #endif
154 
155 #if defined (_NTDEF_) || defined(__WINE_WINTERNL_H)
157 typedef STRING LSA_STRING, *PLSA_STRING;
159 
160 #else
161 
162 typedef struct _LSA_UNICODE_STRING {
165 #ifdef MIDL_PASS
166  [size_is(MaximumLength / 2), length_is(Length / 2)]
167 #endif
170 
171 typedef struct _LSA_STRING {
176 
177 typedef struct _LSA_OBJECT_ATTRIBUTES {
185 
188 
189 #endif
190 
192 {
210 typedef enum {
216 } MSV1_0_AVID;
285 typedef enum _SECURITY_LOGON_TYPE {
293 #if (_WIN32_WINNT >= 0x0600)
294 typedef struct _LSA_LAST_INTER_LOGON_INFO {
295  LARGE_INTEGER LastSuccessfulLogon;
296  LARGE_INTEGER LastFailedLogon;
297  ULONG FailedAttemptCountSinceLastSuccessfulLogon;
298 } LSA_LAST_INTER_LOGON_INFO, *PLSA_LAST_INTER_LOGON_INFO;
299 #endif
313 #if (_WIN32_WINNT >= 0x0600)
314  ULONG UserFlags;
315  LSA_LAST_INTER_LOGON_INFO LastLogonInfo;
316  LSA_UNICODE_STRING LogonScript;
317  LSA_UNICODE_STRING ProfilePath;
318  LSA_UNICODE_STRING HomeDirectory;
319  LSA_UNICODE_STRING HomeDirectoryDrive;
320  LARGE_INTEGER LogoffTime;
321  LARGE_INTEGER KickOffTime;
322  LARGE_INTEGER PasswordLastSet;
323  LARGE_INTEGER PasswordCanChange;
324  LARGE_INTEGER PasswordMustChange;
325 #endif
350 #ifndef _DOMAIN_PASSWORD_INFORMATION_DEFINED
351 #define _DOMAIN_PASSWORD_INFORMATION_DEFINED
352 typedef struct _DOMAIN_PASSWORD_INFORMATION {
359 #endif
365 
375 typedef struct _LSA_FOREST_TRUST_RECORD {
379  union {
383  } ForestTrustData;
399 typedef struct _LSA_TRUST_INFORMATION {
407 typedef struct _LSA_TRANSLATED_SID {
412 typedef struct _LSA_TRANSLATED_SID2 {
418 typedef struct _LSA_TRANSLATED_NAME {
423 
424 typedef struct _KERB_INTERACTIVE_LOGON {
454 typedef struct _MSV1_0_LM20_LOGON {
464 typedef struct _MSV1_0_SUBAUTH_LOGON{ /* W2K only */
492 typedef struct _MSV1_0_NTLM3_RESPONSE {
503 typedef struct _MSV1_0_AV_PAIR {
520 typedef struct _MSV1_0_SUBAUTH_REQUEST{
531 #define MSV1_0_DERIVECRED_TYPE_SHA1 0
549 typedef struct _POLICY_AUDIT_LOG_INFO {
570 typedef struct _POLICY_DNS_DOMAIN_INFO {
577 typedef struct _POLICY_PD_ACCOUNT_INFO {
601 typedef struct _POLICY_EFS_INFO {
654 typedef struct _TRUSTED_PASSWORD_INFO {
668 typedef struct _LSA_AUTH_INFORMATION {
687 
688 #define RtlGenRandom SystemFunction036
689 #define RtlEncryptMemory SystemFunction040
690 #define RtlDecryptMemory SystemFunction041
691 
695 
696 #define RTL_ENCRYPT_MEMORY_SIZE 8
697 #define RTL_ENCRYPT_OPTION_SAME_PROCESS 0x00
698 #define RTL_ENCRYPT_OPTION_CROSS_PROCESS 0x01
699 #define RTL_ENCRYPT_OPTION_SAME_LOGON 0x02
700 
704  PULONG,PNTSTATUS);
719  ULONG,PULONG);
721  PVOID*,PULONG);
724  PVOID*,ULONG,PULONG);
727  PVOID*,ULONG,PULONG);
729  PVOID*,ULONG,PULONG);
774  HANDLE);
784  PVOID);
796  HANDLE);
802 #ifdef __cplusplus
803 }
804 #endif
805 #endif /* _NTSECAPI_H */
LSA_UNICODE_STRING DnsDomainName
Definition: ntsecapi.h:572
NTSTATUS NTAPI LsaConnectUntrusted(PHANDLE)
NTSTATUS NTAPI LsaRemoveAccountRights(LSA_HANDLE, PSID, BOOLEAN, PLSA_UNICODE_STRING, ULONG)
struct _POLICY_LOCAL_POLICY_LOCATION_INFO POLICY_LOCAL_POLICY_LOCATION_INFO
signed char * PCHAR
Definition: retypes.h:7
NTSTATUS NTAPI LsaLogonUser(HANDLE, PLSA_STRING, SECURITY_LOGON_TYPE, ULONG, PVOID, ULONG, PTOKEN_GROUPS, PTOKEN_SOURCE, PVOID *, PULONG, PLUID, PHANDLE, PQUOTA_LIMITS, PNTSTATUS)
* PNTSTATUS
Definition: strlen.c:14
struct _MSV1_0_CHANGEPASSWORD_REQUEST * PMSV1_0_CHANGEPASSWORD_REQUEST
NTSTATUS NTAPI LsaDeleteTrustedDomain(LSA_HANDLE, PSID)
NTSTATUS NTAPI LsaEnumerateLogonSessions(PULONG, PLUID *)
Definition: lsalpc.c:207
#define RtlEncryptMemory
Definition: ntsecapi.h:689
struct _MSV1_0_INTERACTIVE_PROFILE MSV1_0_INTERACTIVE_PROFILE
struct _POLICY_PRIMARY_DOMAIN_INFO POLICY_PRIMARY_DOMAIN_INFO
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:521
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:571
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:426
struct _LSA_TRANSLATED_NAME LSA_TRANSLATED_NAME
#define MSV1_0_USER_SESSION_KEY_LENGTH
Definition: ntsecapi.h:60
struct _MSV1_0_SUBAUTH_RESPONSE * PMSV1_0_SUBAUTH_RESPONSE
MSV1_0_PROFILE_BUFFER_TYPE MessageType
Definition: ntsecapi.h:476
struct _POLICY_EFS_INFO * PPOLICY_EFS_INFO
struct _POLICY_EFS_INFO POLICY_EFS_INFO
enum _POLICY_INFORMATION_CLASS * PPOLICY_INFORMATION_CLASS
enum _LSA_FOREST_TRUST_RECORD_TYPE LSA_FOREST_TRUST_RECORD_TYPE
struct _POLICY_AUDIT_FULL_QUERY_INFO * PPOLICY_AUDIT_FULL_QUERY_INFO
struct _LSA_TRUST_INFORMATION LSA_TRUST_INFORMATION
LONG * PNTSTATUS
Definition: ntsecapi.h:152
NTSTATUS NTAPI LsaEnumerateAccounts(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
enum _MSV1_0_PROFILE_BUFFER_TYPE * PMSV1_0_PROFILE_BUFFER_TYPE
NTSTATUS NTAPI LsaEnumerateTrustedDomainsEx(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
NTSTATUS NTAPI LsaSetInformationPolicy(LSA_HANDLE, POLICY_INFORMATION_CLASS, PVOID)
LSA_UNICODE_STRING UNICODE_STRING
Definition: ntsecapi.h:186
MSV1_0_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:465
enum _SID_NAME_USE SID_NAME_USE
struct _MSV1_0_CHANGEPASSWORD_REQUEST MSV1_0_CHANGEPASSWORD_REQUEST
PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions
Definition: ntsecapi.h:559
MSV1_0_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:431
LARGE_INTEGER LogoffTime
Definition: ntsecapi.h:441
LSA_UNICODE_STRING ObjectPath
Definition: ntsecapi.h:606
struct _MSV1_0_AV_PAIR * PMSV1_0_AV_PAIR
UNICODE_STRING ProfilePath
Definition: ntsecapi.h:449
SID_NAME_USE Use
Definition: ntsecapi.h:419
struct _MSV1_0_NTLM3_RESPONSE MSV1_0_NTLM3_RESPONSE
struct _TRUSTED_DOMAIN_FULL_INFORMATION * PTRUSTED_DOMAIN_FULL_INFORMATION
struct _POLICY_AUDIT_LOG_INFO POLICY_AUDIT_LOG_INFO
struct _POLICY_LOCAL_MACHINE_PASSWORD_INFO POLICY_LOCAL_MACHINE_PASSWORD_INFO
NTSTATUS NTAPI LsaQueryInformationPolicy(LSA_HANDLE, POLICY_INFORMATION_CLASS, PVOID *)
PLSA_TRUST_INFORMATION Domains
Definition: ntsecapi.h:405
UNICODE_STRING HomeDirectory
Definition: ntsecapi.h:447
struct _TRUSTED_DOMAIN_INFORMATION_EX TRUSTED_DOMAIN_INFORMATION_EX
struct _SECURITY_LOGON_SESSION_DATA SECURITY_LOGON_SESSION_DATA
struct _POLICY_AUDIT_FULL_QUERY_INFO POLICY_AUDIT_FULL_QUERY_INFO
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:578
struct _MSV1_0_SUPPLEMENTAL_CREDENTIAL * PMSV1_0_SUPPLEMENTAL_CREDENTIAL
TRUSTED_DOMAIN_AUTH_INFORMATION AuthInformation
Definition: ntsecapi.h:685
uint16_t * PWSTR
Definition: typedefs.h:54
ULONG LSA_ENUMERATION_HANDLE
Definition: ntsecapi.h:360
NTSTATUS NTAPI LsaOpenPolicy(PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE)
NTSTATUS NTAPI LsaRetrievePrivateData(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *)
NTSTATUS NTAPI LsaStorePrivateData(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING)
NTSTATUS NTAPI LsaEnumeratePrivileges(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
unsigned char * PUCHAR
Definition: retypes.h:3
UNICODE_STRING Workstation
Definition: ntsecapi.h:458
LONG NTSTATUS
Definition: precomp.h:26
struct _MSV1_0_INTERACTIVE_PROFILE * PMSV1_0_INTERACTIVE_PROFILE
NTSTATUS NTAPI LsaSetDomainInformationPolicy(LSA_HANDLE, POLICY_DOMAIN_INFORMATION_CLASS, PVOID)
SID_NAME_USE Use
Definition: ntsecapi.h:408
enum _MSV1_0_LOGON_SUBMIT_TYPE MSV1_0_LOGON_SUBMIT_TYPE
struct _LSA_TRANSLATED_SID2 LSA_TRANSLATED_SID2
enum _KERB_LOGON_SUBMIT_TYPE KERB_LOGON_SUBMIT_TYPE
struct _MSV1_0_CHANGEPASSWORD_RESPONSE * PMSV1_0_CHANGEPASSWORD_RESPONSE
NTSTATUS NTAPI LsaQueryTrustedDomainInfoByName(LSA_HANDLE, PLSA_UNICODE_STRING, TRUSTED_INFORMATION_CLASS, PVOID *)
struct _TRUSTED_DOMAIN_INFORMATION_EX * PTRUSTED_DOMAIN_INFORMATION_EX
PLSA_AUTH_INFORMATION OutgoingPreviousAuthenticationInformation
Definition: ntsecapi.h:680
USHORT AvLen
Definition: ntsecapi.h:505
struct _LSA_FOREST_TRUST_RECORD LSA_FOREST_TRUST_RECORD
LARGE_INTEGER Time
Definition: ntsecapi.h:378
static ULONGLONG Memory
Definition: CcMapData_drv.c:35
NTSTATUS NTAPI LsaSetQuotasForAccount(LSA_HANDLE, PQUOTA_LIMITS)
struct _LSA_FOREST_TRUST_BINARY_DATA LSA_FOREST_TRUST_BINARY_DATA
UNICODE_STRING LogonScript
Definition: ntsecapi.h:446
ULONG POLICY_AUDIT_EVENT_OPTIONS
Definition: ntsecapi.h:544
struct _MSV1_0_CHANGEPASSWORD_RESPONSE MSV1_0_CHANGEPASSWORD_RESPONSE
struct _TRUSTED_PASSWORD_INFO * PTRUSTED_PASSWORD_INFO
struct _POLICY_LOCAL_POLICY_LOCATION_INFO * PPOLICY_LOCAL_POLICY_LOCATION_INFO
UNICODE_STRING UserName
Definition: ntsecapi.h:427
ULONG * PLSA_ENUMERATION_HANDLE
Definition: ntsecapi.h:360
NTSTATUS NTAPI LsaEnumerateTrustedDomains(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
NTSTATUS NTAPI LsaCreateTrustedDomainEx(LSA_HANDLE, PTRUSTED_DOMAIN_INFORMATION_EX, PTRUSTED_DOMAIN_AUTH_INFORMATION, ACCESS_MASK, PLSA_HANDLE)
struct _LSA_FOREST_TRUST_INFORMATION LSA_FOREST_TRUST_INFORMATION
TRUSTED_POSIX_OFFSET_INFO PosixOffset
Definition: ntsecapi.h:684
NTSTATUS NTAPI LsaSetSecret(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING)
enum _POLICY_DOMAIN_INFORMATION_CLASS POLICY_DOMAIN_INFORMATION_CLASS
_TRUSTED_INFORMATION_CLASS
Definition: ntsecapi.h:327
struct _POLICY_LSA_SERVER_ROLE_INFO POLICY_LSA_SERVER_ROLE_INFO
UNICODE_STRING Password
Definition: ntsecapi.h:428
#define RtlGenRandom
Definition: ntsecapi.h:688
struct _MSV1_0_LM20_LOGON * PMSV1_0_LM20_LOGON
LARGE_INTEGER PasswordMustChange
Definition: ntsecapi.h:445
NTSTATUS NTAPI LsaOpenAccount(LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
PUCHAR EfsBlob
Definition: ntsecapi.h:603
NTSTATUS NTAPI LsaEnumerateAccountRights(LSA_HANDLE, PSID, PLSA_UNICODE_STRING *, PULONG)
ULONG NTAPI LsaNtStatusToWinError(NTSTATUS)
UNICODE_STRING Password
Definition: ntsecapi.h:434
_POLICY_INFORMATION_CLASS
Definition: ntsecapi.h:239
struct _POLICY_LOCAL_IPSEC_REFERENCE_INFO POLICY_LOCAL_IPSEC_REFERENCE_INFO
struct _POLICY_ACCOUNT_DOMAIN_INFO POLICY_ACCOUNT_DOMAIN_INFO
struct _MSV1_0_SUPPLEMENTAL_CREDENTIAL MSV1_0_SUPPLEMENTAL_CREDENTIAL
struct _SECURITY_LOGON_SESSION_DATA * PSECURITY_LOGON_SESSION_DATA
UNICODE_STRING AccountName
Definition: ntsecapi.h:510
enum _KERB_LOGON_SUBMIT_TYPE * PKERB_LOGON_SUBMIT_TYPE
UNICODE_STRING FullName
Definition: ntsecapi.h:448
KERB_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:425
NTSTATUS NTAPI LsaLookupNames2(LSA_HANDLE, ULONG, ULONG, PLSA_UNICODE_STRING, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_SID2 *)
struct _POLICY_LOCAL_MACHINE_PASSWORD_INFO * PPOLICY_LOCAL_MACHINE_PASSWORD_INFO
LSA_UNICODE_STRING DnsForestName
Definition: ntsecapi.h:573
struct _LSA_AUTH_INFORMATION * PLSA_AUTH_INFORMATION
NTSTATUS NTAPI LsaSetSystemAccessAccount(LSA_HANDLE, ULONG)
PLSA_FOREST_TRUST_COLLISION_RECORD * Entries
Definition: ntsecapi.h:397
NTSTATUS NTAPI LsaSetTrustedDomainInfoByName(LSA_HANDLE, PLSA_UNICODE_STRING, TRUSTED_INFORMATION_CLASS, PVOID)
QUOTA_LIMITS QuotaLimits
Definition: ntsecapi.h:588
struct _MSV1_0_NTLM3_RESPONSE * PMSV1_0_NTLM3_RESPONSE
struct _TRUSTED_DOMAIN_AUTH_INFORMATION * PTRUSTED_DOMAIN_AUTH_INFORMATION
UCHAR UserSessionKey[MSV1_0_USER_SESSION_KEY_LENGTH]
Definition: ntsecapi.h:480
NTSTATUS NTAPI LsaQueryDomainInformationPolicy(LSA_HANDLE, POLICY_DOMAIN_INFORMATION_CLASS, PVOID *)
struct _MSV1_0_INTERACTIVE_LOGON * PMSV1_0_INTERACTIVE_LOGON
struct _MSV1_0_SUBAUTH_LOGON * PMSV1_0_SUBAUTH_LOGON
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:527
struct _POLICY_DOMAIN_LOCKOUT_INFO * PPOLICY_DOMAIN_LOCKOUT_INFO
LSA_UNICODE_STRING ReplicaAccountName
Definition: ntsecapi.h:585
_MSV1_0_PROFILE_BUFFER_TYPE
Definition: ntsecapi.h:205
struct _MSV1_0_LM20_LOGON_PROFILE * PMSV1_0_LM20_LOGON_PROFILE
NTSTATUS NTAPI LsaClearAuditLog(LSA_HANDLE)
struct _POLICY_DNS_DOMAIN_INFO * PPOLICY_DNS_DOMAIN_INFO
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
struct _LSA_FOREST_TRUST_COLLISION_RECORD * PLSA_FOREST_TRUST_COLLISION_RECORD
struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO * PPOLICY_LOCAL_QUALITY_OF_SERVICE_INFO
struct _LSA_AUTH_INFORMATION LSA_AUTH_INFORMATION
enum _MSV1_0_PROTOCOL_MESSAGE_TYPE * PMSV1_0_PROTOCOL_MESSAGE_TYPE
_POLICY_DOMAIN_INFORMATION_CLASS
Definition: ntsecapi.h:267
_MSV1_0_PROTOCOL_MESSAGE_TYPE
Definition: ntsecapi.h:217
LSA_UNICODE_STRING ReplicaSource
Definition: ntsecapi.h:584
struct _MSV1_0_DERIVECRED_RESPONSE * PMSV1_0_DERIVECRED_RESPONSE
long LONG
Definition: pedump.c:60
NTSTATUS NTAPI LsaOpenSecret(LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
NTSTATUS NTAPI LsaOpenTrustedDomainByName(LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
LSA_STRING * PSTRING
Definition: ntsecapi.h:187
struct _POLICY_PRIMARY_DOMAIN_INFO * PPOLICY_PRIMARY_DOMAIN_INFO
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:516
PVOID LSA_HANDLE
Definition: ntsecapi.h:643
struct _POLICY_DEFAULT_QUOTA_INFO * PPOLICY_DEFAULT_QUOTA_INFO
enum _POLICY_SERVER_ENABLE_STATE POLICY_SERVER_ENABLE_STATE
UCHAR DeriveCredSubmitBuffer[1]
Definition: ntsecapi.h:537
LARGE_INTEGER PasswordLastSet
Definition: ntsecapi.h:443
UCHAR LmPassword[MSV1_0_OWF_PASSWORD_LENGTH]
Definition: ntsecapi.h:489
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:466
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:567
PLSA_FOREST_TRUST_RECORD * Entries
Definition: ntsecapi.h:387
struct _POLICY_DOMAIN_KERBEROS_TICKET_INFO POLICY_DOMAIN_KERBEROS_TICKET_INFO
struct _POLICY_DOMAIN_PASSWORD_INFO POLICY_DOMAIN_PASSWORD_INFO
UCHAR ChallengeToClient[MSV1_0_CHALLENGE_LENGTH]
Definition: ntsecapi.h:459
LARGE_INTEGER MinPasswordAge
Definition: ntsam.h:348
enum _POLICY_NOTIFICATION_INFORMATION_CLASS POLICY_NOTIFICATION_INFORMATION_CLASS
struct _LSA_TRANSLATED_SID * PLSA_TRANSLATED_SID
STRING AuthenticationInfo2
Definition: ntsecapi.h:471
NTSTATUS NTAPI LsaEnumerateAccountsWithUserRight(LSA_HANDLE, PLSA_UNICODE_STRING, PVOID *, PULONG)
unsigned char BOOLEAN
STRING AuthenticationInfo1
Definition: ntsecapi.h:470
PLSA_AUTH_INFORMATION IncomingAuthenticationInformation
Definition: ntsecapi.h:676
BOOLEAN(NTAPI * PSAM_PASSWORD_FILTER_ROUTINE)(PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, BOOLEAN)
Definition: ntsecapi.h:800
struct _LSA_REFERENCED_DOMAIN_LIST * PLSA_REFERENCED_DOMAIN_LIST
_POLICY_LSA_SERVER_ROLE
Definition: ntsecapi.h:231
NTSTATUS(NTAPI * PSAM_PASSWORD_NOTIFICATION_ROUTINE)(PUNICODE_STRING, ULONG, PUNICODE_STRING)
Definition: ntsecapi.h:797
LSA_UNICODE_STRING Password
Definition: ntsecapi.h:655
LARGE_INTEGER LogonTime
Definition: ntsecapi.h:440
NTSTATUS NTAPI LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS, HANDLE)
Definition: lsalpc.c:377
struct _KERB_INTERACTIVE_LOGON * PKERB_INTERACTIVE_LOGON
LSA_UNICODE_STRING OldPassword
Definition: ntsecapi.h:656
struct _POLICY_REPLICA_SOURCE_INFO * PPOLICY_REPLICA_SOURCE_INFO
Definition: bufpool.h:45
ULONG LSA_OPERATIONAL_MODE
Definition: ntsecapi.h:364
struct _POLICY_PD_ACCOUNT_INFO POLICY_PD_ACCOUNT_INFO
PLSA_UNICODE_STRING ObjectName
Definition: ntsecapi.h:180
struct _LSA_UNICODE_STRING LSA_UNICODE_STRING
NTSTATUS NTAPI LsaFreeMemory(PVOID)
NTSTATUS NTAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *, PUSHORT)
#define MSV1_0_OWF_PASSWORD_LENGTH
Definition: ntsecapi.h:41
PLSA_TRUST_INFORMATION * PTRUSTED_DOMAIN_INFORMATION_BASIC
Definition: ntsecapi.h:659
UNICODE_STRING UserName
Definition: ntsecapi.h:457
LSA_FOREST_TRUST_RECORD_TYPE ForestTrustType
Definition: ntsecapi.h:377
_SECURITY_LOGON_TYPE
Definition: ntsecapi.h:285
struct _POLICY_DNS_DOMAIN_INFO POLICY_DNS_DOMAIN_INFO
struct _LSA_TRANSLATED_SID LSA_TRANSLATED_SID
struct _MSV1_0_INTERACTIVE_LOGON MSV1_0_INTERACTIVE_LOGON
UNICODE_STRING UserName
Definition: ntsecapi.h:433
struct _LSA_FOREST_TRUST_COLLISION_RECORD LSA_FOREST_TRUST_COLLISION_RECORD
struct _LSA_TRANSLATED_SID2 * PLSA_TRANSLATED_SID2
NTSTATUS NTAPI LsaAddAccountRights(LSA_HANDLE, PSID, PLSA_UNICODE_STRING, ULONG)
LARGE_INTEGER KickOffTime
Definition: ntsecapi.h:442
STRING CaseInsensitiveChallengeResponse
Definition: ntsecapi.h:461
enum _POLICY_LSA_SERVER_ROLE * PPOLICY_LSA_SERVER_ROLE
struct _DOMAIN_PASSWORD_INFORMATION * PDOMAIN_PASSWORD_INFORMATION
PVOID * PLSA_HANDLE
Definition: ntsecapi.h:643
enum _POLICY_LSA_SERVER_ROLE POLICY_LSA_SERVER_ROLE
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:546
enum _TRUSTED_INFORMATION_CLASS TRUSTED_INFORMATION_CLASS
NTSTATUS NTAPI LsaDelete(LSA_HANDLE)
struct _TRUSTED_POSIX_OFFSET_INFO TRUSTED_POSIX_OFFSET_INFO
struct _TRUSTED_CONTROLLERS_INFO * PTRUSTED_CONTROLLERS_INFO
uint64_t ULONGLONG
Definition: typedefs.h:65
USHORT Length
Definition: ntsecapi.h:172
LSA_FOREST_TRUST_DOMAIN_INFO DomainInfo
Definition: ntsecapi.h:381
_KERB_LOGON_SUBMIT_TYPE
Definition: ntsecapi.h:191
UNICODE_STRING NewPassword
Definition: ntsecapi.h:512
LARGE_INTEGER MaxPasswordAge
Definition: ntsam.h:347
struct _POLICY_PD_ACCOUNT_INFO * PPOLICY_PD_ACCOUNT_INFO
#define WINAPI
Definition: msvc.h:8
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
_LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
Definition: ntsecapi.h:345
LARGE_INTEGER KickOffTime
Definition: ntsecapi.h:477
struct _TRUSTED_CONTROLLERS_INFO TRUSTED_CONTROLLERS_INFO
struct _POLICY_DOMAIN_KERBEROS_TICKET_INFO * PPOLICY_DOMAIN_KERBEROS_TICKET_INFO
struct _TRUSTED_POSIX_OFFSET_INFO * PTRUSTED_POSIX_OFFSET_INFO
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:400
DOMAIN_PASSWORD_INFORMATION DomainPasswordInfo
Definition: ntsecapi.h:518
LSA_STRING STRING
Definition: ntsecapi.h:187
LSA_UNICODE_STRING * PUNICODE_STRING
Definition: ntsecapi.h:186
_POLICY_NOTIFICATION_INFORMATION_CLASS
Definition: ntsecapi.h:276
struct _TRUSTED_DOMAIN_NAME_INFO TRUSTED_DOMAIN_NAME_INFO
NTSTATUS NTAPI LsaLookupNames(LSA_HANDLE, ULONG, PLSA_UNICODE_STRING, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_SID *)
PCHAR Buffer
Definition: ntsecapi.h:174
struct _POLICY_REPLICA_SOURCE_INFO POLICY_REPLICA_SOURCE_INFO
#define MSV1_0_NTLM3_RESPONSE_LENGTH
Definition: ntsecapi.h:38
enum _POLICY_DOMAIN_INFORMATION_CLASS * PPOLICY_DOMAIN_INFORMATION_CLASS
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
UNICODE_STRING LogonServer
Definition: ntsecapi.h:451
NTSTATUS NTAPI LsaGetLogonSessionData(PLUID, PSECURITY_LOGON_SESSION_DATA *)
Definition: lsalpc.c:252
struct _POLICY_AUDIT_EVENTS_INFO * PPOLICY_AUDIT_EVENTS_INFO
LSA_UNICODE_STRING FlatName
Definition: ntsecapi.h:662
Definition: ncftp.h:89
LARGE_INTEGER MaxPasswordAge
Definition: ntsecapi.h:632
NTSTATUS NTAPI LsaOpenPolicySce(PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE)
SID_NAME_USE Use
Definition: ntsecapi.h:413
std::wstring STRING
Definition: fontsub.cpp:33
LARGE_INTEGER LockoutObservationWindow
Definition: ntsecapi.h:625
LARGE_INTEGER TimeToShutdown
Definition: ntsecapi.h:554
union _LSA_FOREST_TRUST_RECORD::@3044 ForestTrustData
unsigned char UCHAR
Definition: xmlstorage.h:181
NTSTATUS NTAPI LsaOpenTrustedDomain(LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
UNICODE_STRING Workstation
Definition: ntsecapi.h:468
#define MSV1_0_LANMAN_SESSION_KEY_LENGTH
Definition: ntsecapi.h:34
NTSTATUS NTAPI LsaDeregisterLogonProcess(HANDLE)
UCHAR ChallengeFromClient[MSV1_0_CHALLENGE_LENGTH]
Definition: ntsecapi.h:499
BOOLEAN AuditLogFullShutdownInProgress
Definition: ntsecapi.h:553
static CONST DWORD MemorySize[]
Definition: svga.c:32
enum _SECURITY_LOGON_TYPE * PSECURITY_LOGON_TYPE
struct _POLICY_PRIVILEGE_DEFINITION * PPOLICY_PRIVILEGE_DEFINITION
NTSTATUS NTAPI LsaGetRemoteUserName(PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *, PLSA_UNICODE_STRING *)
NTSTATUS NTAPI LsaGetUserName(PUNICODE_STRING *, PUNICODE_STRING *)
struct _LSA_FOREST_TRUST_RECORD * PLSA_FOREST_TRUST_RECORD
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
#define VOID
Definition: acefi.h:82
LSA_UNICODE_STRING LogonDomain
Definition: ntsecapi.h:304
LSA_UNICODE_STRING TopLevelName
Definition: ntsecapi.h:380
LSA_UNICODE_STRING NetbiosName
Definition: ntsecapi.h:369
struct _POLICY_DOMAIN_PUBLIC_KEY_INFO * PPOLICY_DOMAIN_PUBLIC_KEY_INFO
LSA_UNICODE_STRING DnsDomainName
Definition: ntsecapi.h:311
LARGE_INTEGER ModifiedId
Definition: ntsecapi.h:591
struct _LSA_FOREST_TRUST_DOMAIN_INFO LSA_FOREST_TRUST_DOMAIN_INFO
LSA_UNICODE_STRING DnsName
Definition: ntsecapi.h:368
UCHAR NtPassword[MSV1_0_OWF_PASSWORD_LENGTH]
Definition: ntsecapi.h:490
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:481
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:420
enum _POLICY_AUDIT_EVENT_TYPE * PPOLICY_AUDIT_EVENT_TYPE
struct _MSV1_0_SUBAUTH_RESPONSE MSV1_0_SUBAUTH_RESPONSE
struct _LSA_UNICODE_STRING * PLSA_UNICODE_STRING
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:661
struct _POLICY_LSA_SERVER_ROLE_INFO * PPOLICY_LSA_SERVER_ROLE_INFO
NTSTATUS NTAPI LsaSetTrustedDomainInformation(LSA_HANDLE, PSID, TRUSTED_INFORMATION_CLASS, PVOID)
struct _MSV1_0_SUBAUTH_LOGON MSV1_0_SUBAUTH_LOGON
POLICY_LSA_SERVER_ROLE LsaServerRole
Definition: ntsecapi.h:581
struct _LSA_OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES
PVOID SecurityQualityOfService
Definition: ntsecapi.h:183
struct _LSA_FOREST_TRUST_COLLISION_INFORMATION LSA_FOREST_TRUST_COLLISION_INFORMATION
NTSTATUS NTAPI LsaQuerySecurityObject(LSA_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR *)
struct _POLICY_AUDIT_EVENTS_INFO POLICY_AUDIT_EVENTS_INFO
LARGE_INTEGER AuditRetentionPeriod
Definition: ntsecapi.h:552
struct _POLICY_DOMAIN_PASSWORD_INFO * PPOLICY_DOMAIN_PASSWORD_INFO
NTSTATUS NTAPI LsaQuerySecret(LSA_HANDLE, PLSA_UNICODE_STRING *, PLARGE_INTEGER, PLSA_UNICODE_STRING *, PLARGE_INTEGER)
struct _POLICY_DEFAULT_QUOTA_INFO POLICY_DEFAULT_QUOTA_INFO
TRUSTED_DOMAIN_INFORMATION_EX Information
Definition: ntsecapi.h:683
struct _TRUSTED_DOMAIN_FULL_INFORMATION TRUSTED_DOMAIN_FULL_INFORMATION
ULONG * PPOLICY_AUDIT_EVENT_OPTIONS
Definition: ntsecapi.h:544
UCHAR LanmanSessionKey[MSV1_0_LANMAN_SESSION_KEY_LENGTH]
Definition: ntsecapi.h:482
NTSTATUS NTAPI LsaClose(LSA_HANDLE)
USHORT MaximumLength
Definition: ntsecapi.h:173
_POLICY_SERVER_ENABLE_STATE
Definition: ntsecapi.h:235
NTSTATUS NTAPI LsaLookupPrivilegeName(LSA_HANDLE, PLUID, PLSA_UNICODE_STRING *)
LARGE_INTEGER MinPasswordAge
Definition: ntsecapi.h:633
LSA_UNICODE_STRING LogonServer
Definition: ntsecapi.h:310
enum _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
NTSTATUS NTAPI LsaLookupAuthenticationPackage(HANDLE, PLSA_STRING, PULONG)
LARGE_INTEGER PasswordCanChange
Definition: ntsecapi.h:444
struct _LSA_OBJECT_ATTRIBUTES * PLSA_OBJECT_ATTRIBUTES
UNICODE_STRING UserName
Definition: ntsecapi.h:467
USHORT MaximumLength
Definition: ntsecapi.h:164
MSV1_0_AVID
Definition: ntsecapi.h:210
MSV1_0_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:455
enum _MSV1_0_LOGON_SUBMIT_TYPE * PMSV1_0_LOGON_SUBMIT_TYPE
unsigned short USHORT
Definition: pedump.c:61
LSA_FOREST_TRUST_COLLISION_RECORD_TYPE Type
Definition: ntsecapi.h:391
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:456
NTSTATUS NTAPI LsaSetInformationTrustedDomain(LSA_HANDLE, TRUSTED_INFORMATION_CLASS, PVOID)
BOOLEAN(NTAPI * PSAM_INIT_NOTIFICATION_ROUTINE)(VOID)
Definition: ntsecapi.h:799
UCHAR ChallengeToClient[MSV1_0_CHALLENGE_LENGTH]
Definition: ntsecapi.h:469
MSV1_0_PROFILE_BUFFER_TYPE MessageType
Definition: ntsecapi.h:437
struct _LSA_FOREST_TRUST_DOMAIN_INFO * PLSA_FOREST_TRUST_DOMAIN_INFO
struct _POLICY_ACCOUNT_DOMAIN_INFO * PPOLICY_ACCOUNT_DOMAIN_INFO
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:508
struct _MSV1_0_LM20_LOGON_PROFILE MSV1_0_LM20_LOGON_PROFILE
struct _MSV1_0_SUBAUTH_REQUEST MSV1_0_SUBAUTH_REQUEST
struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO POLICY_LOCAL_QUALITY_OF_SERVICE_INFO
UNICODE_STRING HomeDirectoryDrive
Definition: ntsecapi.h:450
struct _POLICY_DOMAIN_PUBLIC_KEY_INFO POLICY_DOMAIN_PUBLIC_KEY_INFO
NTSTATUS NTAPI LsaCreateSecret(LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
unsigned int * PULONG
Definition: retypes.h:1
NTSTATUS NTAPI LsaGetSystemAccessAccount(LSA_HANDLE, PULONG)
struct _POLICY_PRIVILEGE_DEFINITION POLICY_PRIVILEGE_DEFINITION
struct _LSA_STRING * PLSA_STRING
struct _MSV1_0_DERIVECRED_REQUEST * PMSV1_0_DERIVECRED_REQUEST
struct _LSA_TRUST_INFORMATION * PLSA_TRUST_INFORMATION
NTSTATUS NTAPI LsaCreateAccount(LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
NTSTATUS NTAPI LsaGetQuotasForAccount(LSA_HANDLE, PQUOTA_LIMITS)
struct _LSA_REFERENCED_DOMAIN_LIST LSA_REFERENCED_DOMAIN_LIST
NTSTATUS NTAPI LsaLookupSids(LSA_HANDLE, ULONG, PSID *, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_NAME *)
struct _POLICY_LOCAL_IPSEC_REFERENCE_INFO * PPOLICY_LOCAL_IPSEC_REFERENCE_INFO
NTSTATUS NTAPI LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS, HANDLE)
Definition: lsalpc.c:330
struct _TRUSTED_PASSWORD_INFO TRUSTED_PASSWORD_INFO
_LSA_FOREST_TRUST_RECORD_TYPE
Definition: ntsecapi.h:339
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:645
UNICODE_STRING UserParameters
Definition: ntsecapi.h:484
PLSA_AUTH_INFORMATION OutgoingAuthenticationInformation
Definition: ntsecapi.h:679
struct _TRUSTED_DOMAIN_AUTH_INFORMATION TRUSTED_DOMAIN_AUTH_INFORMATION
LSA_UNICODE_STRING DomainName
Definition: ntsecapi.h:563
_MSV1_0_LOGON_SUBMIT_TYPE
Definition: ntsecapi.h:198
LARGE_INTEGER LastUpdateTime
Definition: ntsecapi.h:669
struct _POLICY_AUDIT_FULL_SET_INFO POLICY_AUDIT_FULL_SET_INFO
struct _POLICY_MODIFICATION_INFO POLICY_MODIFICATION_INFO
struct _MSV1_0_DERIVECRED_REQUEST MSV1_0_DERIVECRED_REQUEST
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:533
NTSTATUS NTAPI LsaRemovePrivilegesFromAccount(LSA_HANDLE, BOOLEAN, PPRIVILEGE_SET)
enum _MSV1_0_PROFILE_BUFFER_TYPE MSV1_0_PROFILE_BUFFER_TYPE
struct _LSA_FOREST_TRUST_COLLISION_INFORMATION * PLSA_FOREST_TRUST_COLLISION_INFORMATION
PLSA_UNICODE_STRING Names
Definition: ntsecapi.h:649
NTSTATUS NTAPI LsaFreeReturnBuffer(PVOID)
STRING CaseSensitiveChallengeResponse
Definition: ntsecapi.h:460
#define BOOLEAN
Definition: pedump.c:73
UNICODE_STRING OldPassword
Definition: ntsecapi.h:511
NTSTATUS NTAPI LsaEnumeratePrivilegesOfAccount(LSA_HANDLE, PPRIVILEGE_SET *)
struct _LSA_TRANSLATED_NAME * PLSA_TRANSLATED_NAME
struct _POLICY_DOMAIN_LOCKOUT_INFO POLICY_DOMAIN_LOCKOUT_INFO
LARGE_INTEGER DatabaseCreationTime
Definition: ntsecapi.h:592
struct _LSA_ENUMERATION_INFORMATION LSA_ENUMERATION_INFORMATION
NTSTATUS NTAPI LsaQueryTrustedDomainInfo(LSA_HANDLE, PSID, TRUSTED_INFORMATION_CLASS, PVOID *)
unsigned int ULONG
Definition: retypes.h:1
NTSTATUS NTAPI LsaRegisterLogonProcess(PLSA_STRING, PHANDLE, PLSA_OPERATIONAL_MODE)
struct _POLICY_AUDIT_LOG_INFO * PPOLICY_AUDIT_LOG_INFO
ULONG InfoLength
Definition: ntsecapi.h:602
PLSA_AUTH_INFORMATION IncomingPreviousAuthenticationInformation
Definition: ntsecapi.h:677
struct _DOMAIN_PASSWORD_INFORMATION DOMAIN_PASSWORD_INFORMATION
UNICODE_STRING LogonServer
Definition: ntsecapi.h:483
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:540
struct _LSA_ENUMERATION_INFORMATION * PLSA_ENUMERATION_INFORMATION
enum _MSV1_0_PROTOCOL_MESSAGE_TYPE MSV1_0_PROTOCOL_MESSAGE_TYPE
LARGE_INTEGER LockoutDuration
Definition: ntsecapi.h:624
struct _TRUSTED_DOMAIN_NAME_INFO * PTRUSTED_DOMAIN_NAME_INFO
LONG NTSTATUS
Definition: ntsecapi.h:152
struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO * PPOLICY_DOMAIN_QUALITY_OF_SERVICE_INFO
Definition: ntsecapi.h:618
struct _MSV1_0_SUBAUTH_REQUEST * PMSV1_0_SUBAUTH_REQUEST
LSA_UNICODE_STRING AuthenticationPackage
Definition: ntsecapi.h:305
ULONG ParameterControl
Definition: ntsecapi.h:462
LARGE_INTEGER LogoffTime
Definition: ntsecapi.h:478
NTSTATUS NTAPI LsaAddPrivilegesToAccount(LSA_HANDLE, PPRIVILEGE_SET)
LSA_FOREST_TRUST_BINARY_DATA Data
Definition: ntsecapi.h:382
ULONG * PLSA_OPERATIONAL_MODE
Definition: ntsecapi.h:364
LSA_UNICODE_STRING Upn
Definition: ntsecapi.h:312
struct _LSA_STRING LSA_STRING
_POLICY_AUDIT_EVENT_TYPE
Definition: ntsecapi.h:256
LSA_TRUST_INFORMATION TRUSTED_DOMAIN_INFORMATION_BASIC
Definition: ntsecapi.h:658
NTSTATUS NTAPI LsaCallAuthenticationPackage(HANDLE, ULONG, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
#define RtlDecryptMemory
Definition: ntsecapi.h:690
NTSTATUS NTAPI LsaCreateTrustedDomain(LSA_HANDLE, PLSA_TRUST_INFORMATION, ACCESS_MASK, PLSA_HANDLE)
enum _POLICY_NOTIFICATION_INFORMATION_CLASS * PPOLICY_NOTIFICATION_INFORMATION_CLASS
NTSTATUS NTAPI LsaLookupPrivilegeValue(LSA_HANDLE, PLSA_UNICODE_STRING, PLUID)
NTSTATUS NTAPI LsaSetSecurityObject(LSA_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR)
struct _POLICY_AUDIT_FULL_SET_INFO * PPOLICY_AUDIT_FULL_SET_INFO
unsigned short * PUSHORT
Definition: retypes.h:2
struct _POLICY_MODIFICATION_INFO * PPOLICY_MODIFICATION_INFO
ULONG ACCESS_MASK
Definition: nt_native.h:40
struct _LSA_FOREST_TRUST_BINARY_DATA * PLSA_FOREST_TRUST_BINARY_DATA
LSA_UNICODE_STRING UserName
Definition: ntsecapi.h:303
struct _KERB_INTERACTIVE_LOGON KERB_INTERACTIVE_LOGON
struct _MSV1_0_DERIVECRED_RESPONSE MSV1_0_DERIVECRED_RESPONSE
struct _MSV1_0_AV_PAIR MSV1_0_AV_PAIR
struct _LSA_FOREST_TRUST_INFORMATION * PLSA_FOREST_TRUST_INFORMATION
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:432
enum _POLICY_AUDIT_EVENT_TYPE POLICY_AUDIT_EVENT_TYPE
#define MSV1_0_CHALLENGE_LENGTH
Definition: ntsecapi.h:28
struct _MSV1_0_LM20_LOGON MSV1_0_LM20_LOGON
enum _TRUSTED_INFORMATION_CLASS * PTRUSTED_INFORMATION_CLASS
enum _POLICY_SERVER_ENABLE_STATE * PPOLICY_SERVER_ENABLE_STATE