ReactOS 0.4.16-dev-289-g096a551
ntsecapi.h
Go to the documentation of this file.
1#ifndef _NTSECAPI_H
2#define _NTSECAPI_H
3
4#ifdef __cplusplus
5extern "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)
159
160#else
161
162typedef struct _LSA_UNICODE_STRING {
165#ifdef MIDL_PASS
166 [size_is(MaximumLength / 2), length_is(Length / 2)]
167#endif
170
171typedef struct _LSA_STRING {
176
185
188
189#endif
190
192{
210typedef enum {
230#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
232#endif
294 Unlock
296#if (_WIN32_WINNT >= 0x0600)
297typedef struct _LSA_LAST_INTER_LOGON_INFO {
298 LARGE_INTEGER LastSuccessfulLogon;
299 LARGE_INTEGER LastFailedLogon;
300 ULONG FailedAttemptCountSinceLastSuccessfulLogon;
301} LSA_LAST_INTER_LOGON_INFO, *PLSA_LAST_INTER_LOGON_INFO;
302#endif
316#if (_WIN32_WINNT >= 0x0600)
317 ULONG UserFlags;
318 LSA_LAST_INTER_LOGON_INFO LastLogonInfo;
319 LSA_UNICODE_STRING LogonScript;
320 LSA_UNICODE_STRING ProfilePath;
321 LSA_UNICODE_STRING HomeDirectory;
322 LSA_UNICODE_STRING HomeDirectoryDrive;
323 LARGE_INTEGER LogoffTime;
324 LARGE_INTEGER KickOffTime;
325 LARGE_INTEGER PasswordLastSet;
326 LARGE_INTEGER PasswordCanChange;
327 LARGE_INTEGER PasswordMustChange;
328#endif
353#ifndef _DOMAIN_PASSWORD_INFORMATION_DEFINED
354#define _DOMAIN_PASSWORD_INFORMATION_DEFINED
355typedef struct _DOMAIN_PASSWORD_INFORMATION {
362#endif
368
382 union {
410typedef struct _LSA_TRANSLATED_SID {
415typedef struct _LSA_TRANSLATED_SID2 {
421typedef struct _LSA_TRANSLATED_NAME {
426
457typedef struct _MSV1_0_LM20_LOGON {
467typedef struct _MSV1_0_SUBAUTH_LOGON{ /* W2K only */
506typedef struct _MSV1_0_AV_PAIR {
534#define MSV1_0_DERIVECRED_TYPE_SHA1 0
604typedef struct _POLICY_EFS_INFO {
671typedef struct _LSA_AUTH_INFORMATION {
690
691#define RtlGenRandom SystemFunction036
692#define RtlEncryptMemory SystemFunction040
693#define RtlDecryptMemory SystemFunction041
694
698
699#define RTL_ENCRYPT_MEMORY_SIZE 8
700#define RTL_ENCRYPT_OPTION_SAME_PROCESS 0x00
701#define RTL_ENCRYPT_OPTION_CROSS_PROCESS 0x01
702#define RTL_ENCRYPT_OPTION_SAME_LOGON 0x02
703
722 ULONG,PULONG);
724 PVOID*,PULONG);
777 HANDLE);
787 PVOID);
799 HANDLE);
805#ifdef __cplusplus
806}
807#endif
808#endif /* _NTSECAPI_H */
unsigned char BOOLEAN
#define VOID
Definition: acefi.h:82
LONG NTSTATUS
Definition: precomp.h:26
Definition: bufpool.h:45
std::wstring STRING
Definition: fontsub.cpp:33
enum _SID_NAME_USE SID_NAME_USE
enum _POLICY_LSA_SERVER_ROLE POLICY_LSA_SERVER_ROLE
enum _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
* PNTSTATUS
Definition: strlen.c:14
DWORD SECURITY_INFORMATION
Definition: ms-dtyp.idl:311
enum _LSA_FOREST_TRUST_RECORD_TYPE LSA_FOREST_TRUST_RECORD_TYPE
ULONG ACCESS_MASK
Definition: nt_native.h:40
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
#define MSV1_0_OWF_PASSWORD_LENGTH
#define MSV1_0_USER_SESSION_KEY_LENGTH
enum _MSV1_0_PROFILE_BUFFER_TYPE MSV1_0_PROFILE_BUFFER_TYPE
#define MSV1_0_LANMAN_SESSION_KEY_LENGTH
enum _MSV1_0_LOGON_SUBMIT_TYPE MSV1_0_LOGON_SUBMIT_TYPE
#define MSV1_0_CHALLENGE_LENGTH
#define MSV1_0_NTLM3_RESPONSE_LENGTH
struct _MSV1_0_SUBAUTH_LOGON * PMSV1_0_SUBAUTH_LOGON
struct _TRUSTED_DOMAIN_FULL_INFORMATION * PTRUSTED_DOMAIN_FULL_INFORMATION
NTSTATUS NTAPI LsaConnectUntrusted(PHANDLE)
enum _MSV1_0_LOGON_SUBMIT_TYPE * PMSV1_0_LOGON_SUBMIT_TYPE
NTSTATUS NTAPI LsaFreeMemory(PVOID)
struct _POLICY_MODIFICATION_INFO POLICY_MODIFICATION_INFO
NTSTATUS NTAPI LsaQueryDomainInformationPolicy(LSA_HANDLE, POLICY_DOMAIN_INFORMATION_CLASS, PVOID *)
NTSTATUS NTAPI LsaEnumerateAccountRights(LSA_HANDLE, PSID, PLSA_UNICODE_STRING *, PULONG)
struct _MSV1_0_CHANGEPASSWORD_REQUEST * PMSV1_0_CHANGEPASSWORD_REQUEST
struct _POLICY_AUDIT_LOG_INFO * PPOLICY_AUDIT_LOG_INFO
struct _POLICY_PD_ACCOUNT_INFO POLICY_PD_ACCOUNT_INFO
NTSTATUS NTAPI LsaRetrievePrivateData(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *)
struct _POLICY_LOCAL_IPSEC_REFERENCE_INFO POLICY_LOCAL_IPSEC_REFERENCE_INFO
NTSTATUS NTAPI LsaEnumerateTrustedDomainsEx(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
struct _POLICY_REPLICA_SOURCE_INFO * PPOLICY_REPLICA_SOURCE_INFO
NTSTATUS NTAPI LsaOpenTrustedDomainByName(LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
struct _MSV1_0_INTERACTIVE_PROFILE * PMSV1_0_INTERACTIVE_PROFILE
NTSTATUS NTAPI LsaQuerySecurityObject(LSA_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR *)
enum _POLICY_LSA_SERVER_ROLE * PPOLICY_LSA_SERVER_ROLE
NTSTATUS NTAPI LsaRegisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS, HANDLE)
Definition: lsalpc.c:331
struct _LSA_TRUST_INFORMATION * PLSA_TRUST_INFORMATION
struct _LSA_TRANSLATED_SID2 * PLSA_TRANSLATED_SID2
struct _POLICY_PRIMARY_DOMAIN_INFO POLICY_PRIMARY_DOMAIN_INFO
struct _LSA_REFERENCED_DOMAIN_LIST LSA_REFERENCED_DOMAIN_LIST
NTSTATUS NTAPI LsaOpenPolicy(PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE)
struct _LSA_FOREST_TRUST_COLLISION_RECORD * PLSA_FOREST_TRUST_COLLISION_RECORD
ULONG * PPOLICY_AUDIT_EVENT_OPTIONS
Definition: ntsecapi.h:547
struct _TRUSTED_CONTROLLERS_INFO TRUSTED_CONTROLLERS_INFO
NTSTATUS NTAPI LsaDeleteTrustedDomain(LSA_HANDLE, PSID)
_POLICY_SERVER_ENABLE_STATE
Definition: ntsecapi.h:238
@ PolicyServerEnabled
Definition: ntsecapi.h:239
@ PolicyServerDisabled
Definition: ntsecapi.h:240
NTSTATUS NTAPI LsaLogonUser(HANDLE, PLSA_STRING, SECURITY_LOGON_TYPE, ULONG, PVOID, ULONG, PTOKEN_GROUPS, PTOKEN_SOURCE, PVOID *, PULONG, PLUID, PHANDLE, PQUOTA_LIMITS, PNTSTATUS)
NTSTATUS NTAPI LsaLookupSids(LSA_HANDLE, ULONG, PSID *, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_NAME *)
struct _TRUSTED_DOMAIN_AUTH_INFORMATION * PTRUSTED_DOMAIN_AUTH_INFORMATION
struct _MSV1_0_AV_PAIR MSV1_0_AV_PAIR
_POLICY_INFORMATION_CLASS
Definition: ntsecapi.h:242
@ PolicyModificationInformation
Definition: ntsecapi.h:251
@ PolicyAuditEventsInformation
Definition: ntsecapi.h:244
@ PolicyDnsDomainInformationInt
Definition: ntsecapi.h:255
@ PolicyDefaultQuotaInformation
Definition: ntsecapi.h:250
@ PolicyLastEntry
Definition: ntsecapi.h:257
@ PolicyReplicaSourceInformation
Definition: ntsecapi.h:249
@ PolicyLsaServerRoleInformation
Definition: ntsecapi.h:248
@ PolicyAuditFullSetInformation
Definition: ntsecapi.h:252
@ PolicyDnsDomainInformation
Definition: ntsecapi.h:254
@ PolicyPrimaryDomainInformation
Definition: ntsecapi.h:245
@ PolicyAuditLogInformation
Definition: ntsecapi.h:243
@ PolicyAuditFullQueryInformation
Definition: ntsecapi.h:253
@ PolicyLocalAccountDomainInformation
Definition: ntsecapi.h:256
@ PolicyPdAccountInformation
Definition: ntsecapi.h:246
@ PolicyAccountDomainInformation
Definition: ntsecapi.h:247
struct _POLICY_LOCAL_POLICY_LOCATION_INFO POLICY_LOCAL_POLICY_LOCATION_INFO
struct _LSA_ENUMERATION_INFORMATION LSA_ENUMERATION_INFORMATION
ULONG * PLSA_OPERATIONAL_MODE
Definition: ntsecapi.h:367
NTSTATUS NTAPI LsaLookupAuthenticationPackage(HANDLE, PLSA_STRING, PULONG)
NTSTATUS NTAPI LsaRemoveAccountRights(LSA_HANDLE, PSID, BOOLEAN, PLSA_UNICODE_STRING, ULONG)
struct _MSV1_0_CHANGEPASSWORD_REQUEST MSV1_0_CHANGEPASSWORD_REQUEST
struct _TRUSTED_CONTROLLERS_INFO * PTRUSTED_CONTROLLERS_INFO
LSA_UNICODE_STRING * PUNICODE_STRING
Definition: ntsecapi.h:186
struct _LSA_TRANSLATED_NAME LSA_TRANSLATED_NAME
enum _SECURITY_LOGON_TYPE * PSECURITY_LOGON_TYPE
struct _LSA_FOREST_TRUST_RECORD * PLSA_FOREST_TRUST_RECORD
struct _KERB_INTERACTIVE_LOGON KERB_INTERACTIVE_LOGON
_MSV1_0_PROTOCOL_MESSAGE_TYPE
Definition: ntsecapi.h:217
@ MsV1_0ChangeCachedPassword
Definition: ntsecapi.h:224
@ MsV1_0GenericPassthrough
Definition: ntsecapi.h:225
@ MsV1_0Lm20GetChallengeResponse
Definition: ntsecapi.h:219
@ MsV1_0CacheLookup
Definition: ntsecapi.h:229
@ MsV1_0DeriveCredential
Definition: ntsecapi.h:228
@ MsV1_0ReLogonUsers
Definition: ntsecapi.h:222
@ MsV1_0ChangePassword
Definition: ntsecapi.h:223
@ MsV1_0SetProcessOption
Definition: ntsecapi.h:231
@ MsV1_0Lm20ChallengeRequest
Definition: ntsecapi.h:218
@ MsV1_0EnumerateUsers
Definition: ntsecapi.h:220
@ MsV1_0CacheLogon
Definition: ntsecapi.h:226
@ MsV1_0GetUserInfo
Definition: ntsecapi.h:221
@ MsV1_0SubAuth
Definition: ntsecapi.h:227
struct _LSA_AUTH_INFORMATION * PLSA_AUTH_INFORMATION
enum _POLICY_INFORMATION_CLASS * PPOLICY_INFORMATION_CLASS
_LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
Definition: ntsecapi.h:348
@ CollisionOther
Definition: ntsecapi.h:351
@ CollisionTdo
Definition: ntsecapi.h:349
@ CollisionXref
Definition: ntsecapi.h:350
LSA_UNICODE_STRING UNICODE_STRING
Definition: ntsecapi.h:186
struct _TRUSTED_POSIX_OFFSET_INFO TRUSTED_POSIX_OFFSET_INFO
struct _LSA_FOREST_TRUST_COLLISION_INFORMATION LSA_FOREST_TRUST_COLLISION_INFORMATION
enum _POLICY_DOMAIN_INFORMATION_CLASS * PPOLICY_DOMAIN_INFORMATION_CLASS
struct _LSA_REFERENCED_DOMAIN_LIST * PLSA_REFERENCED_DOMAIN_LIST
struct _MSV1_0_CHANGEPASSWORD_RESPONSE MSV1_0_CHANGEPASSWORD_RESPONSE
struct _TRUSTED_DOMAIN_INFORMATION_EX TRUSTED_DOMAIN_INFORMATION_EX
#define RtlEncryptMemory
Definition: ntsecapi.h:692
enum _POLICY_DOMAIN_INFORMATION_CLASS POLICY_DOMAIN_INFORMATION_CLASS
struct _POLICY_DOMAIN_KERBEROS_TICKET_INFO * PPOLICY_DOMAIN_KERBEROS_TICKET_INFO
struct _POLICY_DOMAIN_PASSWORD_INFO POLICY_DOMAIN_PASSWORD_INFO
struct _LSA_OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES
enum _POLICY_NOTIFICATION_INFORMATION_CLASS * PPOLICY_NOTIFICATION_INFORMATION_CLASS
NTSTATUS NTAPI LsaStorePrivateData(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING)
_SECURITY_LOGON_TYPE
Definition: ntsecapi.h:288
@ Unlock
Definition: ntsecapi.h:294
@ Interactive
Definition: ntsecapi.h:289
@ Proxy
Definition: ntsecapi.h:293
@ Network
Definition: ntsecapi.h:290
@ Service
Definition: ntsecapi.h:292
@ Batch
Definition: ntsecapi.h:291
ULONG NTAPI LsaNtStatusToWinError(NTSTATUS)
struct _POLICY_DOMAIN_LOCKOUT_INFO POLICY_DOMAIN_LOCKOUT_INFO
LSA_TRUST_INFORMATION TRUSTED_DOMAIN_INFORMATION_BASIC
Definition: ntsecapi.h:661
struct _POLICY_PRIMARY_DOMAIN_INFO * PPOLICY_PRIMARY_DOMAIN_INFO
struct _MSV1_0_LM20_LOGON MSV1_0_LM20_LOGON
struct _POLICY_DNS_DOMAIN_INFO POLICY_DNS_DOMAIN_INFO
struct _DOMAIN_PASSWORD_INFORMATION DOMAIN_PASSWORD_INFORMATION
NTSTATUS NTAPI LsaOpenSecret(LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
struct _MSV1_0_LM20_LOGON * PMSV1_0_LM20_LOGON
struct _MSV1_0_SUPPLEMENTAL_CREDENTIAL * PMSV1_0_SUPPLEMENTAL_CREDENTIAL
NTSTATUS NTAPI LsaSetSystemAccessAccount(LSA_HANDLE, ULONG)
struct _DOMAIN_PASSWORD_INFORMATION * PDOMAIN_PASSWORD_INFORMATION
struct _LSA_FOREST_TRUST_COLLISION_RECORD LSA_FOREST_TRUST_COLLISION_RECORD
struct _TRUSTED_DOMAIN_FULL_INFORMATION TRUSTED_DOMAIN_FULL_INFORMATION
enum _POLICY_SERVER_ENABLE_STATE * PPOLICY_SERVER_ENABLE_STATE
struct _LSA_UNICODE_STRING * PLSA_UNICODE_STRING
LONG * PNTSTATUS
Definition: ntsecapi.h:152
struct _MSV1_0_DERIVECRED_REQUEST * PMSV1_0_DERIVECRED_REQUEST
NTSTATUS NTAPI LsaGetRemoteUserName(PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *, PLSA_UNICODE_STRING *)
struct _MSV1_0_LM20_LOGON_PROFILE MSV1_0_LM20_LOGON_PROFILE
enum _TRUSTED_INFORMATION_CLASS * PTRUSTED_INFORMATION_CLASS
enum _POLICY_AUDIT_EVENT_TYPE * PPOLICY_AUDIT_EVENT_TYPE
NTSTATUS NTAPI LsaLookupPrivilegeDisplayName(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *, PUSHORT)
struct _POLICY_MODIFICATION_INFO * PPOLICY_MODIFICATION_INFO
struct _LSA_STRING * PLSA_STRING
_TRUSTED_INFORMATION_CLASS
Definition: ntsecapi.h:330
@ TrustedDomainFullInformation
Definition: ntsecapi.h:338
@ TrustedDomainFullInformationInternal
Definition: ntsecapi.h:340
@ TrustedPasswordInformation
Definition: ntsecapi.h:334
@ TrustedDomainAuthInformation
Definition: ntsecapi.h:337
@ TrustedPosixOffsetInformation
Definition: ntsecapi.h:333
@ TrustedDomainNameInformation
Definition: ntsecapi.h:331
@ TrustedDomainInformationEx
Definition: ntsecapi.h:336
@ TrustedControllersInformation
Definition: ntsecapi.h:332
@ TrustedDomainAuthInformationInternal
Definition: ntsecapi.h:339
@ TrustedDomainInformationBasic
Definition: ntsecapi.h:335
struct _MSV1_0_INTERACTIVE_PROFILE MSV1_0_INTERACTIVE_PROFILE
struct _POLICY_AUDIT_FULL_QUERY_INFO POLICY_AUDIT_FULL_QUERY_INFO
NTSTATUS NTAPI LsaCreateAccount(LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
struct _LSA_UNICODE_STRING LSA_UNICODE_STRING
_POLICY_AUDIT_EVENT_TYPE
Definition: ntsecapi.h:259
@ AuditCategoryLogon
Definition: ntsecapi.h:261
@ AuditCategoryAccountManagement
Definition: ntsecapi.h:266
@ AuditCategoryAccountLogon
Definition: ntsecapi.h:268
@ AuditCategoryPolicyChange
Definition: ntsecapi.h:265
@ AuditCategorySystem
Definition: ntsecapi.h:260
@ AuditCategoryObjectAccess
Definition: ntsecapi.h:262
@ AuditCategoryDirectoryServiceAccess
Definition: ntsecapi.h:267
@ AuditCategoryDetailedTracking
Definition: ntsecapi.h:264
@ AuditCategoryPrivilegeUse
Definition: ntsecapi.h:263
struct _POLICY_AUDIT_EVENTS_INFO POLICY_AUDIT_EVENTS_INFO
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
struct _MSV1_0_DERIVECRED_RESPONSE * PMSV1_0_DERIVECRED_RESPONSE
enum _TRUSTED_INFORMATION_CLASS TRUSTED_INFORMATION_CLASS
struct _POLICY_AUDIT_EVENTS_INFO * PPOLICY_AUDIT_EVENTS_INFO
struct _POLICY_DOMAIN_PUBLIC_KEY_INFO POLICY_DOMAIN_PUBLIC_KEY_INFO
struct _TRUSTED_DOMAIN_INFORMATION_EX * PTRUSTED_DOMAIN_INFORMATION_EX
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
NTSTATUS NTAPI LsaSetInformationTrustedDomain(LSA_HANDLE, TRUSTED_INFORMATION_CLASS, PVOID)
NTSTATUS NTAPI LsaEnumerateAccounts(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)
#define RtlDecryptMemory
Definition: ntsecapi.h:693
struct _POLICY_LSA_SERVER_ROLE_INFO * PPOLICY_LSA_SERVER_ROLE_INFO
struct _MSV1_0_NTLM3_RESPONSE * PMSV1_0_NTLM3_RESPONSE
NTSTATUS NTAPI LsaGetSystemAccessAccount(LSA_HANDLE, PULONG)
ULONG LSA_OPERATIONAL_MODE
Definition: ntsecapi.h:367
struct _LSA_FOREST_TRUST_DOMAIN_INFO * PLSA_FOREST_TRUST_DOMAIN_INFO
NTSTATUS NTAPI LsaSetTrustedDomainInformation(LSA_HANDLE, PSID, TRUSTED_INFORMATION_CLASS, PVOID)
_POLICY_NOTIFICATION_INFORMATION_CLASS
Definition: ntsecapi.h:279
@ PolicyNotifyMachineAccountPasswordInformation
Definition: ntsecapi.h:286
@ PolicyNotifyAuditEventsInformation
Definition: ntsecapi.h:280
@ PolicyNotifyAccountDomainInformation
Definition: ntsecapi.h:281
@ PolicyNotifyDomainKerberosTicketInformation
Definition: ntsecapi.h:285
@ PolicyNotifyDnsDomainInformation
Definition: ntsecapi.h:283
@ PolicyNotifyDomainEfsInformation
Definition: ntsecapi.h:284
@ PolicyNotifyServerRoleInformation
Definition: ntsecapi.h:282
struct _POLICY_ACCOUNT_DOMAIN_INFO * PPOLICY_ACCOUNT_DOMAIN_INFO
NTSTATUS NTAPI LsaQuerySecret(LSA_HANDLE, PLSA_UNICODE_STRING *, PLARGE_INTEGER, PLSA_UNICODE_STRING *, PLARGE_INTEGER)
struct _POLICY_LOCAL_MACHINE_PASSWORD_INFO POLICY_LOCAL_MACHINE_PASSWORD_INFO
NTSTATUS NTAPI LsaOpenAccount(LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
struct _POLICY_PRIVILEGE_DEFINITION * PPOLICY_PRIVILEGE_DEFINITION
MSV1_0_AVID
Definition: ntsecapi.h:210
@ MsvAvNbDomainName
Definition: ntsecapi.h:213
@ MsvAvNbComputerName
Definition: ntsecapi.h:212
@ MsvAvDnsComputerName
Definition: ntsecapi.h:214
@ MsvAvEOL
Definition: ntsecapi.h:211
@ MsvAvDnsDomainName
Definition: ntsecapi.h:215
enum _POLICY_LSA_SERVER_ROLE POLICY_LSA_SERVER_ROLE
NTSTATUS NTAPI LsaSetTrustedDomainInfoByName(LSA_HANDLE, PLSA_UNICODE_STRING, TRUSTED_INFORMATION_CLASS, PVOID)
_POLICY_DOMAIN_INFORMATION_CLASS
Definition: ntsecapi.h:270
@ PolicyDomainPublicKeyInformation
Definition: ntsecapi.h:274
@ PolicyDomainKerberosTicketInformation
Definition: ntsecapi.h:277
@ PolicyDomainQualityOfServiceInformation
Definition: ntsecapi.h:272
@ PolicyDomainIPSecReferenceInformation
Definition: ntsecapi.h:271
@ PolicyDomainPasswordPolicyInformation
Definition: ntsecapi.h:275
@ PolicyDomainEfsInformation
Definition: ntsecapi.h:273
@ PolicyDomainLockoutInformation
Definition: ntsecapi.h:276
struct _POLICY_DEFAULT_QUOTA_INFO POLICY_DEFAULT_QUOTA_INFO
BOOLEAN(NTAPI * PSAM_INIT_NOTIFICATION_ROUTINE)(VOID)
Definition: ntsecapi.h:802
enum _KERB_LOGON_SUBMIT_TYPE * PKERB_LOGON_SUBMIT_TYPE
struct _LSA_TRANSLATED_SID LSA_TRANSLATED_SID
struct _LSA_FOREST_TRUST_BINARY_DATA * PLSA_FOREST_TRUST_BINARY_DATA
LONG NTSTATUS
Definition: ntsecapi.h:152
NTSTATUS NTAPI LsaQueryTrustedDomainInfoByName(LSA_HANDLE, PLSA_UNICODE_STRING, TRUSTED_INFORMATION_CLASS, PVOID *)
enum _KERB_LOGON_SUBMIT_TYPE KERB_LOGON_SUBMIT_TYPE
NTSTATUS NTAPI LsaEnumerateTrustedDomains(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
struct _POLICY_AUDIT_FULL_SET_INFO POLICY_AUDIT_FULL_SET_INFO
struct _LSA_TRUST_INFORMATION LSA_TRUST_INFORMATION
_LSA_FOREST_TRUST_RECORD_TYPE
Definition: ntsecapi.h:342
@ ForestTrustTopLevelNameEx
Definition: ntsecapi.h:344
@ ForestTrustRecordTypeLast
Definition: ntsecapi.h:346
@ ForestTrustDomainInfo
Definition: ntsecapi.h:345
@ ForestTrustTopLevelName
Definition: ntsecapi.h:343
struct _POLICY_DNS_DOMAIN_INFO * PPOLICY_DNS_DOMAIN_INFO
NTSTATUS NTAPI LsaClose(LSA_HANDLE)
struct _MSV1_0_NTLM3_RESPONSE MSV1_0_NTLM3_RESPONSE
ULONG * PLSA_ENUMERATION_HANDLE
Definition: ntsecapi.h:363
NTSTATUS NTAPI LsaGetQuotasForAccount(LSA_HANDLE, PQUOTA_LIMITS)
struct _LSA_TRANSLATED_SID * PLSA_TRANSLATED_SID
struct _LSA_AUTH_INFORMATION LSA_AUTH_INFORMATION
NTSTATUS NTAPI LsaEnumeratePrivileges(LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
struct _POLICY_AUDIT_FULL_SET_INFO * PPOLICY_AUDIT_FULL_SET_INFO
NTSTATUS NTAPI LsaLookupPrivilegeName(LSA_HANDLE, PLUID, PLSA_UNICODE_STRING *)
NTSTATUS NTAPI LsaCallAuthenticationPackage(HANDLE, ULONG, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
struct _POLICY_LOCAL_POLICY_LOCATION_INFO * PPOLICY_LOCAL_POLICY_LOCATION_INFO
struct _LSA_FOREST_TRUST_RECORD LSA_FOREST_TRUST_RECORD
struct _POLICY_DEFAULT_QUOTA_INFO * PPOLICY_DEFAULT_QUOTA_INFO
struct _POLICY_LOCAL_MACHINE_PASSWORD_INFO * PPOLICY_LOCAL_MACHINE_PASSWORD_INFO
struct _MSV1_0_AV_PAIR * PMSV1_0_AV_PAIR
struct _LSA_FOREST_TRUST_COLLISION_INFORMATION * PLSA_FOREST_TRUST_COLLISION_INFORMATION
NTSTATUS NTAPI LsaAddPrivilegesToAccount(LSA_HANDLE, PPRIVILEGE_SET)
PVOID * PLSA_HANDLE
Definition: ntsecapi.h:646
struct _POLICY_PRIVILEGE_DEFINITION POLICY_PRIVILEGE_DEFINITION
NTSTATUS NTAPI LsaEnumerateAccountsWithUserRight(LSA_HANDLE, PLSA_UNICODE_STRING, PVOID *, PULONG)
struct _POLICY_ACCOUNT_DOMAIN_INFO POLICY_ACCOUNT_DOMAIN_INFO
NTSTATUS NTAPI LsaUnregisterPolicyChangeNotification(POLICY_NOTIFICATION_INFORMATION_CLASS, HANDLE)
Definition: lsalpc.c:378
enum _MSV1_0_PROFILE_BUFFER_TYPE * PMSV1_0_PROFILE_BUFFER_TYPE
enum _MSV1_0_PROTOCOL_MESSAGE_TYPE * PMSV1_0_PROTOCOL_MESSAGE_TYPE
NTSTATUS NTAPI LsaClearAuditLog(LSA_HANDLE)
NTSTATUS NTAPI LsaEnumeratePrivilegesOfAccount(LSA_HANDLE, PPRIVILEGE_SET *)
struct _LSA_TRANSLATED_NAME * PLSA_TRANSLATED_NAME
_KERB_LOGON_SUBMIT_TYPE
Definition: ntsecapi.h:192
@ KerbTicketUnlockLogon
Definition: ntsecapi.h:196
@ KerbInteractiveLogon
Definition: ntsecapi.h:193
@ KerbS4ULogon
Definition: ntsecapi.h:194
@ KerbTicketLogon
Definition: ntsecapi.h:195
struct _LSA_TRANSLATED_SID2 LSA_TRANSLATED_SID2
struct _TRUSTED_DOMAIN_AUTH_INFORMATION TRUSTED_DOMAIN_AUTH_INFORMATION
enum _LSA_FOREST_TRUST_RECORD_TYPE LSA_FOREST_TRUST_RECORD_TYPE
struct _POLICY_LOCAL_IPSEC_REFERENCE_INFO * PPOLICY_LOCAL_IPSEC_REFERENCE_INFO
struct _MSV1_0_SUBAUTH_RESPONSE * PMSV1_0_SUBAUTH_RESPONSE
struct _POLICY_PD_ACCOUNT_INFO * PPOLICY_PD_ACCOUNT_INFO
enum _POLICY_NOTIFICATION_INFORMATION_CLASS POLICY_NOTIFICATION_INFORMATION_CLASS
_MSV1_0_PROFILE_BUFFER_TYPE
Definition: ntsecapi.h:205
@ MsV1_0InteractiveProfile
Definition: ntsecapi.h:206
@ MsV1_0SmartCardProfile
Definition: ntsecapi.h:208
@ MsV1_0Lm20LogonProfile
Definition: ntsecapi.h:207
NTSTATUS NTAPI LsaDeregisterLogonProcess(HANDLE)
struct _POLICY_DOMAIN_LOCKOUT_INFO * PPOLICY_DOMAIN_LOCKOUT_INFO
NTSTATUS NTAPI LsaSetInformationPolicy(LSA_HANDLE, POLICY_INFORMATION_CLASS, PVOID)
NTSTATUS NTAPI LsaRemovePrivilegesFromAccount(LSA_HANDLE, BOOLEAN, PPRIVILEGE_SET)
struct _POLICY_EFS_INFO POLICY_EFS_INFO
enum _MSV1_0_PROFILE_BUFFER_TYPE MSV1_0_PROFILE_BUFFER_TYPE
NTSTATUS NTAPI LsaFreeReturnBuffer(PVOID)
struct _TRUSTED_PASSWORD_INFO TRUSTED_PASSWORD_INFO
struct _TRUSTED_DOMAIN_NAME_INFO * PTRUSTED_DOMAIN_NAME_INFO
NTSTATUS NTAPI LsaLookupPrivilegeValue(LSA_HANDLE, PLSA_UNICODE_STRING, PLUID)
NTSTATUS NTAPI LsaCreateTrustedDomain(LSA_HANDLE, PLSA_TRUST_INFORMATION, ACCESS_MASK, PLSA_HANDLE)
NTSTATUS NTAPI LsaGetLogonSessionData(PLUID, PSECURITY_LOGON_SESSION_DATA *)
Definition: lsalpc.c:253
struct _MSV1_0_LM20_LOGON_PROFILE * PMSV1_0_LM20_LOGON_PROFILE
struct _LSA_FOREST_TRUST_INFORMATION LSA_FOREST_TRUST_INFORMATION
struct _SECURITY_LOGON_SESSION_DATA SECURITY_LOGON_SESSION_DATA
struct _MSV1_0_SUPPLEMENTAL_CREDENTIAL MSV1_0_SUPPLEMENTAL_CREDENTIAL
struct _MSV1_0_SUBAUTH_LOGON MSV1_0_SUBAUTH_LOGON
NTSTATUS NTAPI LsaLookupNames(LSA_HANDLE, ULONG, PLSA_UNICODE_STRING, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_SID *)
struct _POLICY_EFS_INFO * PPOLICY_EFS_INFO
NTSTATUS NTAPI LsaQueryTrustedDomainInfo(LSA_HANDLE, PSID, TRUSTED_INFORMATION_CLASS, PVOID *)
ULONG LSA_ENUMERATION_HANDLE
Definition: ntsecapi.h:363
NTSTATUS NTAPI LsaLookupNames2(LSA_HANDLE, ULONG, ULONG, PLSA_UNICODE_STRING, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_SID2 *)
NTSTATUS(NTAPI * PSAM_PASSWORD_NOTIFICATION_ROUTINE)(PUNICODE_STRING, ULONG, PUNICODE_STRING)
Definition: ntsecapi.h:800
struct _LSA_STRING LSA_STRING
struct _POLICY_AUDIT_LOG_INFO POLICY_AUDIT_LOG_INFO
struct _LSA_FOREST_TRUST_INFORMATION * PLSA_FOREST_TRUST_INFORMATION
struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO POLICY_LOCAL_QUALITY_OF_SERVICE_INFO
struct _POLICY_LSA_SERVER_ROLE_INFO POLICY_LSA_SERVER_ROLE_INFO
NTSTATUS NTAPI LsaAddAccountRights(LSA_HANDLE, PSID, PLSA_UNICODE_STRING, ULONG)
struct _LSA_OBJECT_ATTRIBUTES * PLSA_OBJECT_ATTRIBUTES
ULONG POLICY_AUDIT_EVENT_OPTIONS
Definition: ntsecapi.h:547
NTSTATUS NTAPI LsaGetUserName(PUNICODE_STRING *, PUNICODE_STRING *)
NTSTATUS NTAPI LsaQueryInformationPolicy(LSA_HANDLE, POLICY_INFORMATION_CLASS, PVOID *)
struct _SECURITY_LOGON_SESSION_DATA * PSECURITY_LOGON_SESSION_DATA
struct _POLICY_DOMAIN_PASSWORD_INFO * PPOLICY_DOMAIN_PASSWORD_INFO
struct _MSV1_0_INTERACTIVE_LOGON * PMSV1_0_INTERACTIVE_LOGON
struct _MSV1_0_DERIVECRED_RESPONSE MSV1_0_DERIVECRED_RESPONSE
enum _MSV1_0_PROTOCOL_MESSAGE_TYPE MSV1_0_PROTOCOL_MESSAGE_TYPE
_POLICY_LSA_SERVER_ROLE
Definition: ntsecapi.h:234
@ PolicyServerRoleBackup
Definition: ntsecapi.h:235
@ PolicyServerRolePrimary
Definition: ntsecapi.h:236
struct _TRUSTED_POSIX_OFFSET_INFO * PTRUSTED_POSIX_OFFSET_INFO
struct _MSV1_0_SUBAUTH_REQUEST * PMSV1_0_SUBAUTH_REQUEST
enum _POLICY_SERVER_ENABLE_STATE POLICY_SERVER_ENABLE_STATE
struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO * PPOLICY_LOCAL_QUALITY_OF_SERVICE_INFO
NTSTATUS NTAPI LsaDelete(LSA_HANDLE)
enum _MSV1_0_LOGON_SUBMIT_TYPE MSV1_0_LOGON_SUBMIT_TYPE
struct _MSV1_0_SUBAUTH_RESPONSE MSV1_0_SUBAUTH_RESPONSE
enum _POLICY_AUDIT_EVENT_TYPE POLICY_AUDIT_EVENT_TYPE
struct _LSA_FOREST_TRUST_DOMAIN_INFO LSA_FOREST_TRUST_DOMAIN_INFO
struct _POLICY_AUDIT_FULL_QUERY_INFO * PPOLICY_AUDIT_FULL_QUERY_INFO
struct _TRUSTED_PASSWORD_INFO * PTRUSTED_PASSWORD_INFO
struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO * PPOLICY_DOMAIN_QUALITY_OF_SERVICE_INFO
Definition: ntsecapi.h:621
NTSTATUS NTAPI LsaCreateSecret(LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
NTSTATUS NTAPI LsaSetSecret(LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING)
struct _LSA_FOREST_TRUST_BINARY_DATA LSA_FOREST_TRUST_BINARY_DATA
NTSTATUS NTAPI LsaSetSecurityObject(LSA_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR)
LSA_STRING STRING
Definition: ntsecapi.h:187
NTSTATUS NTAPI LsaEnumerateLogonSessions(PULONG, PLUID *)
Definition: lsalpc.c:208
struct _MSV1_0_CHANGEPASSWORD_RESPONSE * PMSV1_0_CHANGEPASSWORD_RESPONSE
struct _MSV1_0_SUBAUTH_REQUEST MSV1_0_SUBAUTH_REQUEST
NTSTATUS NTAPI LsaSetDomainInformationPolicy(LSA_HANDLE, POLICY_DOMAIN_INFORMATION_CLASS, PVOID)
NTSTATUS NTAPI LsaOpenPolicySce(PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE)
NTSTATUS NTAPI LsaSetQuotasForAccount(LSA_HANDLE, PQUOTA_LIMITS)
struct _KERB_INTERACTIVE_LOGON * PKERB_INTERACTIVE_LOGON
enum _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
NTSTATUS NTAPI LsaOpenTrustedDomain(LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
#define RtlGenRandom
Definition: ntsecapi.h:691
struct _MSV1_0_DERIVECRED_REQUEST MSV1_0_DERIVECRED_REQUEST
struct _POLICY_REPLICA_SOURCE_INFO POLICY_REPLICA_SOURCE_INFO
PLSA_TRUST_INFORMATION * PTRUSTED_DOMAIN_INFORMATION_BASIC
Definition: ntsecapi.h:662
struct _MSV1_0_INTERACTIVE_LOGON MSV1_0_INTERACTIVE_LOGON
NTSTATUS NTAPI LsaRegisterLogonProcess(PLSA_STRING, PHANDLE, PLSA_OPERATIONAL_MODE)
struct _TRUSTED_DOMAIN_NAME_INFO TRUSTED_DOMAIN_NAME_INFO
struct _POLICY_DOMAIN_KERBEROS_TICKET_INFO POLICY_DOMAIN_KERBEROS_TICKET_INFO
struct _POLICY_DOMAIN_PUBLIC_KEY_INFO * PPOLICY_DOMAIN_PUBLIC_KEY_INFO
LSA_STRING * PSTRING
Definition: ntsecapi.h:187
PVOID LSA_HANDLE
Definition: ntsecapi.h:646
BOOLEAN(NTAPI * PSAM_PASSWORD_FILTER_ROUTINE)(PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, BOOLEAN)
Definition: ntsecapi.h:803
_MSV1_0_LOGON_SUBMIT_TYPE
Definition: ntsecapi.h:198
@ MsV1_0NetworkLogon
Definition: ntsecapi.h:201
@ MsV1_0WorkstationUnlockLogon
Definition: ntsecapi.h:203
@ MsV1_0SubAuthLogon
Definition: ntsecapi.h:202
@ MsV1_0Lm20Logon
Definition: ntsecapi.h:200
@ MsV1_0InteractiveLogon
Definition: ntsecapi.h:199
struct _LSA_ENUMERATION_INFORMATION * PLSA_ENUMERATION_INFORMATION
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:455
#define BOOLEAN
Definition: pedump.c:73
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
Definition: ncftp.h:89
LARGE_INTEGER MinPasswordAge
Definition: ntsam.h:376
LARGE_INTEGER MaxPasswordAge
Definition: ntsam.h:375
KERB_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:428
UNICODE_STRING Password
Definition: ntsecapi.h:431
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:429
UNICODE_STRING UserName
Definition: ntsecapi.h:430
LARGE_INTEGER LastUpdateTime
Definition: ntsecapi.h:672
PLSA_FOREST_TRUST_COLLISION_RECORD * Entries
Definition: ntsecapi.h:400
LSA_FOREST_TRUST_COLLISION_RECORD_TYPE Type
Definition: ntsecapi.h:394
LSA_UNICODE_STRING NetbiosName
Definition: ntsecapi.h:372
LSA_UNICODE_STRING DnsName
Definition: ntsecapi.h:371
PLSA_FOREST_TRUST_RECORD * Entries
Definition: ntsecapi.h:390
LARGE_INTEGER Time
Definition: ntsecapi.h:381
union _LSA_FOREST_TRUST_RECORD::@3175 ForestTrustData
LSA_FOREST_TRUST_DOMAIN_INFO DomainInfo
Definition: ntsecapi.h:384
LSA_UNICODE_STRING TopLevelName
Definition: ntsecapi.h:383
LSA_FOREST_TRUST_RECORD_TYPE ForestTrustType
Definition: ntsecapi.h:380
LSA_FOREST_TRUST_BINARY_DATA Data
Definition: ntsecapi.h:385
PVOID SecurityQualityOfService
Definition: ntsecapi.h:183
PLSA_UNICODE_STRING ObjectName
Definition: ntsecapi.h:180
PLSA_TRUST_INFORMATION Domains
Definition: ntsecapi.h:408
USHORT MaximumLength
Definition: ntsecapi.h:173
USHORT Length
Definition: ntsecapi.h:172
PCHAR Buffer
Definition: ntsecapi.h:174
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:423
SID_NAME_USE Use
Definition: ntsecapi.h:422
SID_NAME_USE Use
Definition: ntsecapi.h:416
SID_NAME_USE Use
Definition: ntsecapi.h:411
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:403
USHORT MaximumLength
Definition: ntsecapi.h:164
USHORT AvLen
Definition: ntsecapi.h:508
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:511
UNICODE_STRING AccountName
Definition: ntsecapi.h:513
UNICODE_STRING NewPassword
Definition: ntsecapi.h:515
UNICODE_STRING OldPassword
Definition: ntsecapi.h:514
DOMAIN_PASSWORD_INFORMATION DomainPasswordInfo
Definition: ntsecapi.h:521
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:519
UCHAR DeriveCredSubmitBuffer[1]
Definition: ntsecapi.h:540
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:536
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:543
UNICODE_STRING Password
Definition: ntsecapi.h:437
UNICODE_STRING UserName
Definition: ntsecapi.h:436
MSV1_0_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:434
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:435
LARGE_INTEGER LogonTime
Definition: ntsecapi.h:443
MSV1_0_PROFILE_BUFFER_TYPE MessageType
Definition: ntsecapi.h:440
LARGE_INTEGER KickOffTime
Definition: ntsecapi.h:445
LARGE_INTEGER PasswordMustChange
Definition: ntsecapi.h:448
UNICODE_STRING LogonScript
Definition: ntsecapi.h:449
LARGE_INTEGER PasswordCanChange
Definition: ntsecapi.h:447
LARGE_INTEGER LogoffTime
Definition: ntsecapi.h:444
UNICODE_STRING FullName
Definition: ntsecapi.h:451
LARGE_INTEGER PasswordLastSet
Definition: ntsecapi.h:446
UNICODE_STRING ProfilePath
Definition: ntsecapi.h:452
UNICODE_STRING LogonServer
Definition: ntsecapi.h:454
UNICODE_STRING HomeDirectory
Definition: ntsecapi.h:450
UNICODE_STRING HomeDirectoryDrive
Definition: ntsecapi.h:453
MSV1_0_PROFILE_BUFFER_TYPE MessageType
Definition: ntsecapi.h:479
UCHAR UserSessionKey[MSV1_0_USER_SESSION_KEY_LENGTH]
Definition: ntsecapi.h:483
UNICODE_STRING LogonServer
Definition: ntsecapi.h:486
UCHAR LanmanSessionKey[MSV1_0_LANMAN_SESSION_KEY_LENGTH]
Definition: ntsecapi.h:485
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:484
LARGE_INTEGER LogoffTime
Definition: ntsecapi.h:481
UNICODE_STRING UserParameters
Definition: ntsecapi.h:487
LARGE_INTEGER KickOffTime
Definition: ntsecapi.h:480
UNICODE_STRING UserName
Definition: ntsecapi.h:460
UCHAR ChallengeToClient[MSV1_0_CHALLENGE_LENGTH]
Definition: ntsecapi.h:462
STRING CaseInsensitiveChallengeResponse
Definition: ntsecapi.h:464
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:459
UNICODE_STRING Workstation
Definition: ntsecapi.h:461
ULONG ParameterControl
Definition: ntsecapi.h:465
STRING CaseSensitiveChallengeResponse
Definition: ntsecapi.h:463
MSV1_0_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:458
UCHAR ChallengeFromClient[MSV1_0_CHALLENGE_LENGTH]
Definition: ntsecapi.h:502
UNICODE_STRING UserName
Definition: ntsecapi.h:470
STRING AuthenticationInfo2
Definition: ntsecapi.h:474
UCHAR ChallengeToClient[MSV1_0_CHALLENGE_LENGTH]
Definition: ntsecapi.h:472
UNICODE_STRING Workstation
Definition: ntsecapi.h:471
UNICODE_STRING LogonDomainName
Definition: ntsecapi.h:469
MSV1_0_LOGON_SUBMIT_TYPE MessageType
Definition: ntsecapi.h:468
STRING AuthenticationInfo1
Definition: ntsecapi.h:473
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:524
MSV1_0_PROTOCOL_MESSAGE_TYPE MessageType
Definition: ntsecapi.h:530
UCHAR LmPassword[MSV1_0_OWF_PASSWORD_LENGTH]
Definition: ntsecapi.h:492
UCHAR NtPassword[MSV1_0_OWF_PASSWORD_LENGTH]
Definition: ntsecapi.h:493
LSA_UNICODE_STRING DomainName
Definition: ntsecapi.h:566
PPOLICY_AUDIT_EVENT_OPTIONS EventAuditingOptions
Definition: ntsecapi.h:562
LARGE_INTEGER AuditRetentionPeriod
Definition: ntsecapi.h:555
BOOLEAN AuditLogFullShutdownInProgress
Definition: ntsecapi.h:556
LARGE_INTEGER TimeToShutdown
Definition: ntsecapi.h:557
QUOTA_LIMITS QuotaLimits
Definition: ntsecapi.h:591
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:574
LSA_UNICODE_STRING DnsDomainName
Definition: ntsecapi.h:575
LSA_UNICODE_STRING DnsForestName
Definition: ntsecapi.h:576
LARGE_INTEGER LockoutDuration
Definition: ntsecapi.h:627
LARGE_INTEGER LockoutObservationWindow
Definition: ntsecapi.h:628
LARGE_INTEGER MaxPasswordAge
Definition: ntsecapi.h:635
LARGE_INTEGER MinPasswordAge
Definition: ntsecapi.h:636
PUCHAR EfsBlob
Definition: ntsecapi.h:606
ULONG InfoLength
Definition: ntsecapi.h:605
LSA_UNICODE_STRING ObjectPath
Definition: ntsecapi.h:609
POLICY_LSA_SERVER_ROLE LsaServerRole
Definition: ntsecapi.h:584
LARGE_INTEGER DatabaseCreationTime
Definition: ntsecapi.h:595
LARGE_INTEGER ModifiedId
Definition: ntsecapi.h:594
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:581
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:570
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:549
LSA_UNICODE_STRING ReplicaAccountName
Definition: ntsecapi.h:588
LSA_UNICODE_STRING ReplicaSource
Definition: ntsecapi.h:587
LSA_UNICODE_STRING Upn
Definition: ntsecapi.h:315
LSA_UNICODE_STRING DnsDomainName
Definition: ntsecapi.h:314
LSA_UNICODE_STRING LogonDomain
Definition: ntsecapi.h:307
LSA_UNICODE_STRING LogonServer
Definition: ntsecapi.h:313
LSA_UNICODE_STRING UserName
Definition: ntsecapi.h:306
LSA_UNICODE_STRING AuthenticationPackage
Definition: ntsecapi.h:308
PLSA_UNICODE_STRING Names
Definition: ntsecapi.h:652
PLSA_AUTH_INFORMATION IncomingPreviousAuthenticationInformation
Definition: ntsecapi.h:680
PLSA_AUTH_INFORMATION OutgoingPreviousAuthenticationInformation
Definition: ntsecapi.h:683
PLSA_AUTH_INFORMATION IncomingAuthenticationInformation
Definition: ntsecapi.h:679
PLSA_AUTH_INFORMATION OutgoingAuthenticationInformation
Definition: ntsecapi.h:682
TRUSTED_DOMAIN_AUTH_INFORMATION AuthInformation
Definition: ntsecapi.h:688
TRUSTED_POSIX_OFFSET_INFO PosixOffset
Definition: ntsecapi.h:687
TRUSTED_DOMAIN_INFORMATION_EX Information
Definition: ntsecapi.h:686
LSA_UNICODE_STRING FlatName
Definition: ntsecapi.h:665
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:664
LSA_UNICODE_STRING Name
Definition: ntsecapi.h:648
LSA_UNICODE_STRING OldPassword
Definition: ntsecapi.h:659
LSA_UNICODE_STRING Password
Definition: ntsecapi.h:658
static CONST DWORD MemorySize[]
Definition: svga.c:32
uint16_t * PWSTR
Definition: typedefs.h:56
uint32_t * PULONG
Definition: typedefs.h:59
#define NTAPI
Definition: typedefs.h:36
uint16_t * PUSHORT
Definition: typedefs.h:56
unsigned char * PUCHAR
Definition: typedefs.h:53
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
char * PCHAR
Definition: typedefs.h:51
_In_ WDFDMATRANSACTION _In_ size_t MaximumLength
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
Definition: wdfmemory.h:169
#define WINAPI
Definition: msvc.h:6
unsigned char UCHAR
Definition: xmlstorage.h:181