ReactOS 0.4.16-dev-287-g2d3f3a1
ntsecapi.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _LSA_UNICODE_STRING
 
struct  _LSA_STRING
 
struct  _LSA_OBJECT_ATTRIBUTES
 
struct  _SECURITY_LOGON_SESSION_DATA
 
struct  _DOMAIN_PASSWORD_INFORMATION
 
struct  _LSA_ENUMERATION_INFORMATION
 
struct  _LSA_FOREST_TRUST_DOMAIN_INFO
 
struct  _LSA_FOREST_TRUST_BINARY_DATA
 
struct  _LSA_FOREST_TRUST_RECORD
 
struct  _LSA_FOREST_TRUST_INFORMATION
 
struct  _LSA_FOREST_TRUST_COLLISION_RECORD
 
struct  _LSA_FOREST_TRUST_COLLISION_INFORMATION
 
struct  _LSA_TRUST_INFORMATION
 
struct  _LSA_REFERENCED_DOMAIN_LIST
 
struct  _LSA_TRANSLATED_SID
 
struct  _LSA_TRANSLATED_SID2
 
struct  _LSA_TRANSLATED_NAME
 
struct  _KERB_INTERACTIVE_LOGON
 
struct  _MSV1_0_INTERACTIVE_LOGON
 
struct  _MSV1_0_INTERACTIVE_PROFILE
 
struct  _MSV1_0_LM20_LOGON
 
struct  _MSV1_0_SUBAUTH_LOGON
 
struct  _MSV1_0_LM20_LOGON_PROFILE
 
struct  _MSV1_0_SUPPLEMENTAL_CREDENTIAL
 
struct  _MSV1_0_NTLM3_RESPONSE
 
struct  _MSV1_0_AV_PAIR
 
struct  _MSV1_0_CHANGEPASSWORD_REQUEST
 
struct  _MSV1_0_CHANGEPASSWORD_RESPONSE
 
struct  _MSV1_0_SUBAUTH_REQUEST
 
struct  _MSV1_0_SUBAUTH_RESPONSE
 
struct  _MSV1_0_DERIVECRED_REQUEST
 
struct  _MSV1_0_DERIVECRED_RESPONSE
 
struct  _POLICY_PRIVILEGE_DEFINITION
 
struct  _POLICY_AUDIT_LOG_INFO
 
struct  _POLICY_AUDIT_EVENTS_INFO
 
struct  _POLICY_ACCOUNT_DOMAIN_INFO
 
struct  _POLICY_PRIMARY_DOMAIN_INFO
 
struct  _POLICY_DNS_DOMAIN_INFO
 
struct  _POLICY_PD_ACCOUNT_INFO
 
struct  _POLICY_LSA_SERVER_ROLE_INFO
 
struct  _POLICY_REPLICA_SOURCE_INFO
 
struct  _POLICY_DEFAULT_QUOTA_INFO
 
struct  _POLICY_MODIFICATION_INFO
 
struct  _POLICY_AUDIT_FULL_SET_INFO
 
struct  _POLICY_AUDIT_FULL_QUERY_INFO
 
struct  _POLICY_EFS_INFO
 
struct  _POLICY_LOCAL_IPSEC_REFERENCE_INFO
 
struct  _POLICY_LOCAL_MACHINE_PASSWORD_INFO
 
struct  _POLICY_LOCAL_POLICY_LOCATION_INFO
 
struct  _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO
 
struct  _POLICY_DOMAIN_PUBLIC_KEY_INFO
 
struct  _POLICY_DOMAIN_LOCKOUT_INFO
 
struct  _POLICY_DOMAIN_PASSWORD_INFO
 
struct  _POLICY_DOMAIN_KERBEROS_TICKET_INFO
 
struct  _TRUSTED_DOMAIN_NAME_INFO
 
struct  _TRUSTED_CONTROLLERS_INFO
 
struct  _TRUSTED_POSIX_OFFSET_INFO
 
struct  _TRUSTED_PASSWORD_INFO
 
struct  _TRUSTED_DOMAIN_INFORMATION_EX
 
struct  _LSA_AUTH_INFORMATION
 
struct  _TRUSTED_DOMAIN_AUTH_INFORMATION
 
struct  _TRUSTED_DOMAIN_FULL_INFORMATION
 

Macros

#define KERB_WRAP_NO_ENCRYPT   0x80000001
 
#define LOGON_GUEST   1
 
#define LOGON_NOENCRYPTION   2
 
#define LOGON_CACHED_ACCOUNT   4
 
#define LOGON_USED_LM_PASSWORD   8
 
#define LOGON_EXTRA_SIDS   32
 
#define LOGON_SUBAUTH_SESSION_KEY   64
 
#define LOGON_SERVER_TRUST_ACCOUNT   128
 
#define LOGON_NTLMV2_ENABLED   256
 
#define LOGON_RESOURCE_GROUPS   512
 
#define LOGON_PROFILE_PATH_RETURNED   1024
 
#define LOGON_GRACE_LOGON   16777216
 
#define LSA_MODE_PASSWORD_PROTECTED   1
 
#define LSA_MODE_INDIVIDUAL_ACCOUNTS   2
 
#define LSA_MODE_MANDATORY_ACCESS   3
 
#define LSA_MODE_LOG_FULL   4
 
#define LSA_SUCCESS(x)   ((LONG)(x)>=0)
 
#define MICROSOFT_KERBEROS_NAME_A   "Kerberos"
 
#define MICROSOFT_KERBEROS_NAME_W   L"Kerberos"
 
#define MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT   32
 
#define MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT   2048
 
#define MSV1_0_CHALLENGE_LENGTH   8
 
#define MSV1_0_CLEARTEXT_PASSWORD_ALLOWED   2
 
#define MSV1_0_CRED_LM_PRESENT   1
 
#define MSV1_0_CRED_NT_PRESENT   2
 
#define MSV1_0_CRED_VERSION   0
 
#define MSV1_0_DONT_TRY_GUEST_ACCOUNT   16
 
#define MSV1_0_LANMAN_SESSION_KEY_LENGTH   8
 
#define MSV1_0_MAX_NTLM3_LIFE   1800
 
#define MSV1_0_MAX_AVL_SIZE   64000
 
#define MSV1_0_MNS_LOGON   16777216
 
#define MSV1_0_NTLM3_RESPONSE_LENGTH   16
 
#define MSV1_0_NTLM3_OWF_LENGTH   16
 
#define MSV1_0_NTLM3_INPUT_LENGTH   (sizeof(MSV1_0_NTLM3_RESPONSE)-MSV1_0_NTLM3_RESPONSE_LENGTH)
 
#define MSV1_0_OWF_PASSWORD_LENGTH   16
 
#define MSV1_0_PACKAGE_NAME   "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"
 
#define MSV1_0_PACKAGE_NAMEW   L"MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"
 
#define MSV1_0_PACKAGE_NAMEW_LENGTH   sizeof(MSV1_0_PACKAGE_NAMEW)-sizeof(WCHAR)
 
#define MSV1_0_RETURN_USER_PARAMETERS   8
 
#define MSV1_0_RETURN_PASSWORD_EXPIRY   64
 
#define MSV1_0_RETURN_PROFILE_PATH   512
 
#define MSV1_0_SUBAUTHENTICATION_DLL_EX   1048576
 
#define MSV1_0_SUBAUTHENTICATION_DLL   0xff000000
 
#define MSV1_0_SUBAUTHENTICATION_DLL_SHIFT   24
 
#define MSV1_0_SUBAUTHENTICATION_DLL_RAS   2
 
#define MSV1_0_SUBAUTHENTICATION_DLL_IIS   132
 
#define MSV1_0_SUBAUTHENTICATION_FLAGS   0xff000000
 
#define MSV1_0_SUBAUTHENTICATION_KEY   "System\\CurrentControlSet\\Control\\Lsa\\MSV1_0"
 
#define MSV1_0_SUBAUTHENTICATION_VALUE   "Auth"
 
#define MSV1_0_TRY_GUEST_ACCOUNT_ONLY   256
 
#define MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY   1024
 
#define MSV1_0_UPDATE_LOGON_STATISTICS   4
 
#define MSV1_0_USE_CLIENT_CHALLENGE   128
 
#define MSV1_0_USER_SESSION_KEY_LENGTH   16
 
#define POLICY_VIEW_LOCAL_INFORMATION   1
 
#define POLICY_VIEW_AUDIT_INFORMATION   2
 
#define POLICY_GET_PRIVATE_INFORMATION   4
 
#define POLICY_TRUST_ADMIN   8
 
#define POLICY_CREATE_ACCOUNT   16
 
#define POLICY_CREATE_SECRET   32
 
#define POLICY_CREATE_PRIVILEGE   64
 
#define POLICY_SET_DEFAULT_QUOTA_LIMITS   128
 
#define POLICY_SET_AUDIT_REQUIREMENTS   256
 
#define POLICY_AUDIT_LOG_ADMIN   512
 
#define POLICY_SERVER_ADMIN   1024
 
#define POLICY_LOOKUP_NAMES   2048
 
#define POLICY_NOTIFICATION   4096
 
#define POLICY_READ   (STANDARD_RIGHTS_READ|6)
 
#define POLICY_WRITE   (STANDARD_RIGHTS_WRITE|2040)
 
#define POLICY_EXECUTE   (STANDARD_RIGHTS_EXECUTE|2049)
 
#define POLICY_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED|4095)
 
#define POLICY_AUDIT_EVENT_UNCHANGED   0
 
#define POLICY_AUDIT_EVENT_SUCCESS   1
 
#define POLICY_AUDIT_EVENT_FAILURE   2
 
#define POLICY_AUDIT_EVENT_NONE   4
 
#define POLICY_AUDIT_EVENT_MASK   7
 
#define POLICY_LOCATION_LOCAL   1
 
#define POLICY_LOCATION_DS   2
 
#define POLICY_MACHINE_POLICY_LOCAL   0
 
#define POLICY_MACHINE_POLICY_DEFAULTED   1
 
#define POLICY_MACHINE_POLICY_EXPLICIT   2
 
#define POLICY_MACHINE_POLICY_UNKNOWN   0xFFFFFFFF
 
#define POLICY_QOS_SCHANEL_REQUIRED   1
 
#define POLICY_QOS_OUTBOUND_INTEGRITY   2
 
#define POLICY_QOS_OUTBOUND_CONFIDENTIALITY   4
 
#define POLICY_QOS_INBOUND_INTEGREITY   8
 
#define POLICY_QOS_INBOUND_CONFIDENTIALITY   16
 
#define POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE   32
 
#define POLICY_QOS_RAS_SERVER_ALLOWED   64
 
#define POLICY_QOS_DHCP_SERVER_ALLOWD   128
 
#define POLICY_KERBEROS_FORWARDABLE   1
 
#define POLICY_KERBEROS_PROXYABLE   2
 
#define POLICY_KERBEROS_RENEWABLE   4
 
#define POLICY_KERBEROS_POSTDATEABLE   8
 
#define SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE   "PasswordChangeNotify"
 
#define SAM_INIT_NOTIFICATION_ROUTINE   "InitializeChangeNotify"
 
#define SAM_PASSWORD_FILTER_ROUTINE   "PasswordFilter"
 
#define SE_INTERACTIVE_LOGON_NAME   TEXT("SeInteractiveLogonRight")
 
#define SE_NETWORK_LOGON_NAME   TEXT("SeNetworkLogonRight")
 
#define SE_BATCH_LOGON_NAME   TEXT("SeBatchLogonRight")
 
#define SE_SERVICE_LOGON_NAME   TEXT("SeServiceLogonRight")
 
#define SE_DENY_INTERACTIVE_LOGON_NAME   TEXT("SeDenyInteractiveLogonRight")
 
#define SE_DENY_NETWORK_LOGON_NAME   TEXT("SeDenyNetworkLogonRight")
 
#define SE_DENY_BATCH_LOGON_NAME   TEXT("SeDenyBatchLogonRight")
 
#define SE_DENY_SERVICE_LOGON_NAME   TEXT("SeDenyServiceLogonRight")
 
#define SE_REMOTE_INTERACTIVE_LOGON_NAME   TEXT("SeRemoteInteractiveLogonRight")
 
#define SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME   TEXT("SeDenyRemoteInteractiveLogonRight")
 
#define TRUST_ATTRIBUTE_NON_TRANSITIVE   1
 
#define TRUST_ATTRIBUTE_UPLEVEL_ONLY   2
 
#define TRUST_ATTRIBUTE_TREE_PARENT   4194304
 
#define TRUST_ATTRIBUTES_VALID   -16580609
 
#define TRUST_AUTH_TYPE_NONE   0
 
#define TRUST_AUTH_TYPE_NT4OWF   1
 
#define TRUST_AUTH_TYPE_CLEAR   2
 
#define TRUST_DIRECTION_DISABLED   0
 
#define TRUST_DIRECTION_INBOUND   1
 
#define TRUST_DIRECTION_OUTBOUND   2
 
#define TRUST_DIRECTION_BIDIRECTIONAL   3
 
#define TRUST_TYPE_DOWNLEVEL   1
 
#define TRUST_TYPE_UPLEVEL   2
 
#define TRUST_TYPE_MIT   3
 
#define TRUST_TYPE_DCE   4
 
#define SCESTATUS_SUCCESS   0L
 
#define SCESTATUS_INVALID_PARAMETER   1L
 
#define SCESTATUS_RECORD_NOT_FOUND   2L
 
#define SCESTATUS_INVALID_DATA   3L
 
#define SCESTATUS_OBJECT_EXISTS   4L
 
#define SCESTATUS_BUFFER_TOO_SMALL   5L
 
#define SCESTATUS_PROFILE_NOT_FOUND   6L
 
#define SCESTATUS_BAD_FORMAT   7L
 
#define SCESTATUS_NOT_ENOUGH_RESOURCE   8L
 
#define SCESTATUS_ACCESS_DENIED   9L
 
#define SCESTATUS_CANT_DELETE   10L
 
#define SCESTATUS_PREFIX_OVERFLOW   11L
 
#define SCESTATUS_OTHER_ERROR   12L
 
#define SCESTATUS_ALREADY_RUNNING   13L
 
#define SCESTATUS_SERVICE_NOT_SUPPORT   14L
 
#define SCESTATUS_MOD_NOT_FOUND   15L
 
#define SCESTATUS_EXCEPTION_IN_SERVER   16L
 
#define SCESTATUS_NO_TEMPLATE_GIVEN   17L
 
#define SCESTATUS_NO_MAPPING   18L
 
#define SCESTATUS_TRUST_FAIL   19L
 
#define _DOMAIN_PASSWORD_INFORMATION_DEFINED
 
#define MSV1_0_DERIVECRED_TYPE_SHA1   0
 
#define RtlGenRandom   SystemFunction036
 
#define RtlEncryptMemory   SystemFunction040
 
#define RtlDecryptMemory   SystemFunction041
 
#define RTL_ENCRYPT_MEMORY_SIZE   8
 
#define RTL_ENCRYPT_OPTION_SAME_PROCESS   0x00
 
#define RTL_ENCRYPT_OPTION_CROSS_PROCESS   0x01
 
#define RTL_ENCRYPT_OPTION_SAME_LOGON   0x02
 

Typedefs

typedef LONG NTSTATUS
 
typedef LONGPNTSTATUS
 
typedef struct _LSA_UNICODE_STRING LSA_UNICODE_STRING
 
typedef struct _LSA_UNICODE_STRINGPLSA_UNICODE_STRING
 
typedef struct _LSA_STRING LSA_STRING
 
typedef struct _LSA_STRINGPLSA_STRING
 
typedef struct _LSA_OBJECT_ATTRIBUTES LSA_OBJECT_ATTRIBUTES
 
typedef struct _LSA_OBJECT_ATTRIBUTESPLSA_OBJECT_ATTRIBUTES
 
typedef LSA_UNICODE_STRING UNICODE_STRING
 
typedef LSA_UNICODE_STRINGPUNICODE_STRING
 
typedef LSA_STRING STRING
 
typedef LSA_STRINGPSTRING
 
typedef enum _KERB_LOGON_SUBMIT_TYPE KERB_LOGON_SUBMIT_TYPE
 
typedef enum _KERB_LOGON_SUBMIT_TYPEPKERB_LOGON_SUBMIT_TYPE
 
typedef enum _MSV1_0_LOGON_SUBMIT_TYPE MSV1_0_LOGON_SUBMIT_TYPE
 
typedef enum _MSV1_0_LOGON_SUBMIT_TYPEPMSV1_0_LOGON_SUBMIT_TYPE
 
typedef enum _MSV1_0_PROFILE_BUFFER_TYPE MSV1_0_PROFILE_BUFFER_TYPE
 
typedef enum _MSV1_0_PROFILE_BUFFER_TYPEPMSV1_0_PROFILE_BUFFER_TYPE
 
typedef enum _MSV1_0_PROTOCOL_MESSAGE_TYPE MSV1_0_PROTOCOL_MESSAGE_TYPE
 
typedef enum _MSV1_0_PROTOCOL_MESSAGE_TYPEPMSV1_0_PROTOCOL_MESSAGE_TYPE
 
typedef enum _POLICY_LSA_SERVER_ROLE POLICY_LSA_SERVER_ROLE
 
typedef enum _POLICY_LSA_SERVER_ROLEPPOLICY_LSA_SERVER_ROLE
 
typedef enum _POLICY_SERVER_ENABLE_STATE POLICY_SERVER_ENABLE_STATE
 
typedef enum _POLICY_SERVER_ENABLE_STATEPPOLICY_SERVER_ENABLE_STATE
 
typedef enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
 
typedef enum _POLICY_INFORMATION_CLASSPPOLICY_INFORMATION_CLASS
 
typedef enum _POLICY_AUDIT_EVENT_TYPE POLICY_AUDIT_EVENT_TYPE
 
typedef enum _POLICY_AUDIT_EVENT_TYPEPPOLICY_AUDIT_EVENT_TYPE
 
typedef enum _POLICY_DOMAIN_INFORMATION_CLASS POLICY_DOMAIN_INFORMATION_CLASS
 
typedef enum _POLICY_DOMAIN_INFORMATION_CLASSPPOLICY_DOMAIN_INFORMATION_CLASS
 
typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS POLICY_NOTIFICATION_INFORMATION_CLASS
 
typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASSPPOLICY_NOTIFICATION_INFORMATION_CLASS
 
typedef enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
 
typedef enum _SECURITY_LOGON_TYPEPSECURITY_LOGON_TYPE
 
typedef struct _SECURITY_LOGON_SESSION_DATA SECURITY_LOGON_SESSION_DATA
 
typedef struct _SECURITY_LOGON_SESSION_DATAPSECURITY_LOGON_SESSION_DATA
 
typedef enum _TRUSTED_INFORMATION_CLASS TRUSTED_INFORMATION_CLASS
 
typedef enum _TRUSTED_INFORMATION_CLASSPTRUSTED_INFORMATION_CLASS
 
typedef enum _LSA_FOREST_TRUST_RECORD_TYPE LSA_FOREST_TRUST_RECORD_TYPE
 
typedef enum _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
 
typedef struct _DOMAIN_PASSWORD_INFORMATION DOMAIN_PASSWORD_INFORMATION
 
typedef struct _DOMAIN_PASSWORD_INFORMATIONPDOMAIN_PASSWORD_INFORMATION
 
typedef ULONG LSA_ENUMERATION_HANDLE
 
typedef ULONGPLSA_ENUMERATION_HANDLE
 
typedef struct _LSA_ENUMERATION_INFORMATION LSA_ENUMERATION_INFORMATION
 
typedef struct _LSA_ENUMERATION_INFORMATIONPLSA_ENUMERATION_INFORMATION
 
typedef ULONG LSA_OPERATIONAL_MODE
 
typedef ULONGPLSA_OPERATIONAL_MODE
 
typedef struct _LSA_FOREST_TRUST_DOMAIN_INFO LSA_FOREST_TRUST_DOMAIN_INFO
 
typedef struct _LSA_FOREST_TRUST_DOMAIN_INFOPLSA_FOREST_TRUST_DOMAIN_INFO
 
typedef struct _LSA_FOREST_TRUST_BINARY_DATA LSA_FOREST_TRUST_BINARY_DATA
 
typedef struct _LSA_FOREST_TRUST_BINARY_DATAPLSA_FOREST_TRUST_BINARY_DATA
 
typedef struct _LSA_FOREST_TRUST_RECORD LSA_FOREST_TRUST_RECORD
 
typedef struct _LSA_FOREST_TRUST_RECORDPLSA_FOREST_TRUST_RECORD
 
typedef struct _LSA_FOREST_TRUST_INFORMATION LSA_FOREST_TRUST_INFORMATION
 
typedef struct _LSA_FOREST_TRUST_INFORMATIONPLSA_FOREST_TRUST_INFORMATION
 
typedef struct _LSA_FOREST_TRUST_COLLISION_RECORD LSA_FOREST_TRUST_COLLISION_RECORD
 
typedef struct _LSA_FOREST_TRUST_COLLISION_RECORDPLSA_FOREST_TRUST_COLLISION_RECORD
 
typedef struct _LSA_FOREST_TRUST_COLLISION_INFORMATION LSA_FOREST_TRUST_COLLISION_INFORMATION
 
typedef struct _LSA_FOREST_TRUST_COLLISION_INFORMATIONPLSA_FOREST_TRUST_COLLISION_INFORMATION
 
typedef struct _LSA_TRUST_INFORMATION LSA_TRUST_INFORMATION
 
typedef struct _LSA_TRUST_INFORMATIONPLSA_TRUST_INFORMATION
 
typedef struct _LSA_REFERENCED_DOMAIN_LIST LSA_REFERENCED_DOMAIN_LIST
 
typedef struct _LSA_REFERENCED_DOMAIN_LISTPLSA_REFERENCED_DOMAIN_LIST
 
typedef struct _LSA_TRANSLATED_SID LSA_TRANSLATED_SID
 
typedef struct _LSA_TRANSLATED_SIDPLSA_TRANSLATED_SID
 
typedef struct _LSA_TRANSLATED_SID2 LSA_TRANSLATED_SID2
 
typedef struct _LSA_TRANSLATED_SID2PLSA_TRANSLATED_SID2
 
typedef struct _LSA_TRANSLATED_NAME LSA_TRANSLATED_NAME
 
typedef struct _LSA_TRANSLATED_NAMEPLSA_TRANSLATED_NAME
 
typedef struct _KERB_INTERACTIVE_LOGON KERB_INTERACTIVE_LOGON
 
typedef struct _KERB_INTERACTIVE_LOGONPKERB_INTERACTIVE_LOGON
 
typedef struct _MSV1_0_INTERACTIVE_LOGON MSV1_0_INTERACTIVE_LOGON
 
typedef struct _MSV1_0_INTERACTIVE_LOGONPMSV1_0_INTERACTIVE_LOGON
 
typedef struct _MSV1_0_INTERACTIVE_PROFILE MSV1_0_INTERACTIVE_PROFILE
 
typedef struct _MSV1_0_INTERACTIVE_PROFILEPMSV1_0_INTERACTIVE_PROFILE
 
typedef struct _MSV1_0_LM20_LOGON MSV1_0_LM20_LOGON
 
typedef struct _MSV1_0_LM20_LOGONPMSV1_0_LM20_LOGON
 
typedef struct _MSV1_0_SUBAUTH_LOGON MSV1_0_SUBAUTH_LOGON
 
typedef struct _MSV1_0_SUBAUTH_LOGONPMSV1_0_SUBAUTH_LOGON
 
typedef struct _MSV1_0_LM20_LOGON_PROFILE MSV1_0_LM20_LOGON_PROFILE
 
typedef struct _MSV1_0_LM20_LOGON_PROFILEPMSV1_0_LM20_LOGON_PROFILE
 
typedef struct _MSV1_0_SUPPLEMENTAL_CREDENTIAL MSV1_0_SUPPLEMENTAL_CREDENTIAL
 
typedef struct _MSV1_0_SUPPLEMENTAL_CREDENTIALPMSV1_0_SUPPLEMENTAL_CREDENTIAL
 
typedef struct _MSV1_0_NTLM3_RESPONSE MSV1_0_NTLM3_RESPONSE
 
typedef struct _MSV1_0_NTLM3_RESPONSEPMSV1_0_NTLM3_RESPONSE
 
typedef struct _MSV1_0_AV_PAIR MSV1_0_AV_PAIR
 
typedef struct _MSV1_0_AV_PAIRPMSV1_0_AV_PAIR
 
typedef struct _MSV1_0_CHANGEPASSWORD_REQUEST MSV1_0_CHANGEPASSWORD_REQUEST
 
typedef struct _MSV1_0_CHANGEPASSWORD_REQUESTPMSV1_0_CHANGEPASSWORD_REQUEST
 
typedef struct _MSV1_0_CHANGEPASSWORD_RESPONSE MSV1_0_CHANGEPASSWORD_RESPONSE
 
typedef struct _MSV1_0_CHANGEPASSWORD_RESPONSEPMSV1_0_CHANGEPASSWORD_RESPONSE
 
typedef struct _MSV1_0_SUBAUTH_REQUEST MSV1_0_SUBAUTH_REQUEST
 
typedef struct _MSV1_0_SUBAUTH_REQUESTPMSV1_0_SUBAUTH_REQUEST
 
typedef struct _MSV1_0_SUBAUTH_RESPONSE MSV1_0_SUBAUTH_RESPONSE
 
typedef struct _MSV1_0_SUBAUTH_RESPONSEPMSV1_0_SUBAUTH_RESPONSE
 
typedef struct _MSV1_0_DERIVECRED_REQUEST MSV1_0_DERIVECRED_REQUEST
 
typedef struct _MSV1_0_DERIVECRED_REQUESTPMSV1_0_DERIVECRED_REQUEST
 
typedef struct _MSV1_0_DERIVECRED_RESPONSE MSV1_0_DERIVECRED_RESPONSE
 
typedef struct _MSV1_0_DERIVECRED_RESPONSEPMSV1_0_DERIVECRED_RESPONSE
 
typedef ULONG POLICY_AUDIT_EVENT_OPTIONS
 
typedef ULONGPPOLICY_AUDIT_EVENT_OPTIONS
 
typedef struct _POLICY_PRIVILEGE_DEFINITION POLICY_PRIVILEGE_DEFINITION
 
typedef struct _POLICY_PRIVILEGE_DEFINITIONPPOLICY_PRIVILEGE_DEFINITION
 
typedef struct _POLICY_AUDIT_LOG_INFO POLICY_AUDIT_LOG_INFO
 
typedef struct _POLICY_AUDIT_LOG_INFOPPOLICY_AUDIT_LOG_INFO
 
typedef struct _POLICY_AUDIT_EVENTS_INFO POLICY_AUDIT_EVENTS_INFO
 
typedef struct _POLICY_AUDIT_EVENTS_INFOPPOLICY_AUDIT_EVENTS_INFO
 
typedef struct _POLICY_ACCOUNT_DOMAIN_INFO POLICY_ACCOUNT_DOMAIN_INFO
 
typedef struct _POLICY_ACCOUNT_DOMAIN_INFOPPOLICY_ACCOUNT_DOMAIN_INFO
 
typedef struct _POLICY_PRIMARY_DOMAIN_INFO POLICY_PRIMARY_DOMAIN_INFO
 
typedef struct _POLICY_PRIMARY_DOMAIN_INFOPPOLICY_PRIMARY_DOMAIN_INFO
 
typedef struct _POLICY_DNS_DOMAIN_INFO POLICY_DNS_DOMAIN_INFO
 
typedef struct _POLICY_DNS_DOMAIN_INFOPPOLICY_DNS_DOMAIN_INFO
 
typedef struct _POLICY_PD_ACCOUNT_INFO POLICY_PD_ACCOUNT_INFO
 
typedef struct _POLICY_PD_ACCOUNT_INFOPPOLICY_PD_ACCOUNT_INFO
 
typedef struct _POLICY_LSA_SERVER_ROLE_INFO POLICY_LSA_SERVER_ROLE_INFO
 
typedef struct _POLICY_LSA_SERVER_ROLE_INFOPPOLICY_LSA_SERVER_ROLE_INFO
 
typedef struct _POLICY_REPLICA_SOURCE_INFO POLICY_REPLICA_SOURCE_INFO
 
typedef struct _POLICY_REPLICA_SOURCE_INFOPPOLICY_REPLICA_SOURCE_INFO
 
typedef struct _POLICY_DEFAULT_QUOTA_INFO POLICY_DEFAULT_QUOTA_INFO
 
typedef struct _POLICY_DEFAULT_QUOTA_INFOPPOLICY_DEFAULT_QUOTA_INFO
 
typedef struct _POLICY_MODIFICATION_INFO POLICY_MODIFICATION_INFO
 
typedef struct _POLICY_MODIFICATION_INFOPPOLICY_MODIFICATION_INFO
 
typedef struct _POLICY_AUDIT_FULL_SET_INFO POLICY_AUDIT_FULL_SET_INFO
 
typedef struct _POLICY_AUDIT_FULL_SET_INFOPPOLICY_AUDIT_FULL_SET_INFO
 
typedef struct _POLICY_AUDIT_FULL_QUERY_INFO POLICY_AUDIT_FULL_QUERY_INFO
 
typedef struct _POLICY_AUDIT_FULL_QUERY_INFOPPOLICY_AUDIT_FULL_QUERY_INFO
 
typedef struct _POLICY_EFS_INFO POLICY_EFS_INFO
 
typedef struct _POLICY_EFS_INFOPPOLICY_EFS_INFO
 
typedef struct _POLICY_LOCAL_IPSEC_REFERENCE_INFO POLICY_LOCAL_IPSEC_REFERENCE_INFO
 
typedef struct _POLICY_LOCAL_IPSEC_REFERENCE_INFOPPOLICY_LOCAL_IPSEC_REFERENCE_INFO
 
typedef struct _POLICY_LOCAL_MACHINE_PASSWORD_INFO POLICY_LOCAL_MACHINE_PASSWORD_INFO
 
typedef struct _POLICY_LOCAL_MACHINE_PASSWORD_INFOPPOLICY_LOCAL_MACHINE_PASSWORD_INFO
 
typedef struct _POLICY_LOCAL_POLICY_LOCATION_INFO POLICY_LOCAL_POLICY_LOCATION_INFO
 
typedef struct _POLICY_LOCAL_POLICY_LOCATION_INFOPPOLICY_LOCAL_POLICY_LOCATION_INFO
 
typedef struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO POLICY_LOCAL_QUALITY_OF_SERVICE_INFO
 
typedef struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFOPPOLICY_LOCAL_QUALITY_OF_SERVICE_INFO
 
typedef struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFO POLICY_DOMAIN_QUALITY_OF_SERVICE_INFO
 
typedef struct _POLICY_LOCAL_QUALITY_OF_SERVICE_INFOPPOLICY_DOMAIN_QUALITY_OF_SERVICE_INFO
 
typedef struct _POLICY_DOMAIN_PUBLIC_KEY_INFO POLICY_DOMAIN_PUBLIC_KEY_INFO
 
typedef struct _POLICY_DOMAIN_PUBLIC_KEY_INFOPPOLICY_DOMAIN_PUBLIC_KEY_INFO
 
typedef struct _POLICY_DOMAIN_LOCKOUT_INFO POLICY_DOMAIN_LOCKOUT_INFO
 
typedef struct _POLICY_DOMAIN_LOCKOUT_INFOPPOLICY_DOMAIN_LOCKOUT_INFO
 
typedef struct _POLICY_DOMAIN_PASSWORD_INFO POLICY_DOMAIN_PASSWORD_INFO
 
typedef struct _POLICY_DOMAIN_PASSWORD_INFOPPOLICY_DOMAIN_PASSWORD_INFO
 
typedef struct _POLICY_DOMAIN_KERBEROS_TICKET_INFO POLICY_DOMAIN_KERBEROS_TICKET_INFO
 
typedef struct _POLICY_DOMAIN_KERBEROS_TICKET_INFOPPOLICY_DOMAIN_KERBEROS_TICKET_INFO
 
typedef PVOID LSA_HANDLE
 
typedef PVOIDPLSA_HANDLE
 
typedef struct _TRUSTED_DOMAIN_NAME_INFO TRUSTED_DOMAIN_NAME_INFO
 
typedef struct _TRUSTED_DOMAIN_NAME_INFOPTRUSTED_DOMAIN_NAME_INFO
 
typedef struct _TRUSTED_CONTROLLERS_INFO TRUSTED_CONTROLLERS_INFO
 
typedef struct _TRUSTED_CONTROLLERS_INFOPTRUSTED_CONTROLLERS_INFO
 
typedef struct _TRUSTED_POSIX_OFFSET_INFO TRUSTED_POSIX_OFFSET_INFO
 
typedef struct _TRUSTED_POSIX_OFFSET_INFOPTRUSTED_POSIX_OFFSET_INFO
 
typedef struct _TRUSTED_PASSWORD_INFO TRUSTED_PASSWORD_INFO
 
typedef struct _TRUSTED_PASSWORD_INFOPTRUSTED_PASSWORD_INFO
 
typedef LSA_TRUST_INFORMATION TRUSTED_DOMAIN_INFORMATION_BASIC
 
typedef PLSA_TRUST_INFORMATIONPTRUSTED_DOMAIN_INFORMATION_BASIC
 
typedef struct _TRUSTED_DOMAIN_INFORMATION_EX TRUSTED_DOMAIN_INFORMATION_EX
 
typedef struct _TRUSTED_DOMAIN_INFORMATION_EXPTRUSTED_DOMAIN_INFORMATION_EX
 
typedef struct _LSA_AUTH_INFORMATION LSA_AUTH_INFORMATION
 
typedef struct _LSA_AUTH_INFORMATIONPLSA_AUTH_INFORMATION
 
typedef struct _TRUSTED_DOMAIN_AUTH_INFORMATION TRUSTED_DOMAIN_AUTH_INFORMATION
 
typedef struct _TRUSTED_DOMAIN_AUTH_INFORMATIONPTRUSTED_DOMAIN_AUTH_INFORMATION
 
typedef struct _TRUSTED_DOMAIN_FULL_INFORMATION TRUSTED_DOMAIN_FULL_INFORMATION
 
typedef struct _TRUSTED_DOMAIN_FULL_INFORMATIONPTRUSTED_DOMAIN_FULL_INFORMATION
 
typedef NTSTATUS(NTAPIPSAM_PASSWORD_NOTIFICATION_ROUTINE) (PUNICODE_STRING, ULONG, PUNICODE_STRING)
 
typedef BOOLEAN(NTAPIPSAM_INIT_NOTIFICATION_ROUTINE) (VOID)
 
typedef BOOLEAN(NTAPIPSAM_PASSWORD_FILTER_ROUTINE) (PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, BOOLEAN)
 

Enumerations

enum  _KERB_LOGON_SUBMIT_TYPE { KerbInteractiveLogon = 2 , KerbS4ULogon = 12 , KerbTicketLogon = 10 , KerbTicketUnlockLogon = 11 }
 
enum  _MSV1_0_LOGON_SUBMIT_TYPE {
  MsV1_0InteractiveLogon = 2 , MsV1_0Lm20Logon , MsV1_0NetworkLogon , MsV1_0SubAuthLogon ,
  MsV1_0WorkstationUnlockLogon = 7 , MsV1_0InteractiveLogon = 2 , MsV1_0Lm20Logon , MsV1_0NetworkLogon ,
  MsV1_0SubAuthLogon , MsV1_0WorkstationUnlockLogon = 7 , MsV1_0S4ULogon = 12 , MsV1_0VirtualLogon = 82
}
 
enum  _MSV1_0_PROFILE_BUFFER_TYPE {
  MsV1_0InteractiveProfile = 2 , MsV1_0Lm20LogonProfile , MsV1_0SmartCardProfile , MsV1_0InteractiveProfile = 2 ,
  MsV1_0Lm20LogonProfile , MsV1_0SmartCardProfile
}
 
enum  MSV1_0_AVID {
  MsvAvEOL , MsvAvNbComputerName , MsvAvNbDomainName , MsvAvDnsComputerName ,
  MsvAvDnsDomainName
}
 
enum  _MSV1_0_PROTOCOL_MESSAGE_TYPE {
  MsV1_0Lm20ChallengeRequest = 0 , MsV1_0Lm20GetChallengeResponse , MsV1_0EnumerateUsers , MsV1_0GetUserInfo ,
  MsV1_0ReLogonUsers , MsV1_0ChangePassword , MsV1_0ChangeCachedPassword , MsV1_0GenericPassthrough ,
  MsV1_0CacheLogon , MsV1_0SubAuth , MsV1_0DeriveCredential , MsV1_0CacheLookup ,
  MsV1_0SetProcessOption , MsV1_0Lm20ChallengeRequest = 0 , MsV1_0Lm20GetChallengeResponse , MsV1_0EnumerateUsers ,
  MsV1_0GetUserInfo , MsV1_0ReLogonUsers , MsV1_0ChangePassword , MsV1_0ChangeCachedPassword ,
  MsV1_0GenericPassthrough , MsV1_0CacheLogon , MsV1_0SubAuth , MsV1_0DeriveCredential ,
  MsV1_0CacheLookup
}
 
enum  _POLICY_LSA_SERVER_ROLE { PolicyServerRoleBackup = 2 , PolicyServerRolePrimary , PolicyServerRoleBackup = 2 , PolicyServerRolePrimary }
 
enum  _POLICY_SERVER_ENABLE_STATE { PolicyServerEnabled = 2 , PolicyServerDisabled }
 
enum  _POLICY_INFORMATION_CLASS {
  PolicyAuditLogInformation = 1 , PolicyAuditEventsInformation , PolicyPrimaryDomainInformation , PolicyPdAccountInformation ,
  PolicyAccountDomainInformation , PolicyLsaServerRoleInformation , PolicyReplicaSourceInformation , PolicyDefaultQuotaInformation ,
  PolicyModificationInformation , PolicyAuditFullSetInformation , PolicyAuditFullQueryInformation , PolicyDnsDomainInformation ,
  PolicyDnsDomainInformationInt , PolicyLocalAccountDomainInformation , PolicyLastEntry , PolicyAuditLogInformation = 1 ,
  PolicyAuditEventsInformation , PolicyPrimaryDomainInformation , PolicyPdAccountInformation , PolicyAccountDomainInformation ,
  PolicyLsaServerRoleInformation , PolicyReplicaSourceInformation , PolicyDefaultQuotaInformation , PolicyModificationInformation ,
  PolicyAuditFullSetInformation , PolicyAuditFullQueryInformation , PolicyDnsDomainInformation , PolicyDnsDomainInformationInt ,
  PolicyLocalAccountDomainInformation , PolicyLastEntry
}
 
enum  _POLICY_AUDIT_EVENT_TYPE {
  AuditCategorySystem , AuditCategoryLogon , AuditCategoryObjectAccess , AuditCategoryPrivilegeUse ,
  AuditCategoryDetailedTracking , AuditCategoryPolicyChange , AuditCategoryAccountManagement , AuditCategoryDirectoryServiceAccess ,
  AuditCategoryAccountLogon
}
 
enum  _POLICY_DOMAIN_INFORMATION_CLASS {
  PolicyDomainIPSecReferenceInformation = 1 , PolicyDomainQualityOfServiceInformation , PolicyDomainEfsInformation , PolicyDomainPublicKeyInformation ,
  PolicyDomainPasswordPolicyInformation , PolicyDomainLockoutInformation , PolicyDomainKerberosTicketInformation , PolicyDomainQualityOfServiceInformation = 1 ,
  PolicyDomainEfsInformation = 2 , PolicyDomainKerberosTicketInformation = 3
}
 
enum  _POLICY_NOTIFICATION_INFORMATION_CLASS {
  PolicyNotifyAuditEventsInformation = 1 , PolicyNotifyAccountDomainInformation , PolicyNotifyServerRoleInformation , PolicyNotifyDnsDomainInformation ,
  PolicyNotifyDomainEfsInformation , PolicyNotifyDomainKerberosTicketInformation , PolicyNotifyMachineAccountPasswordInformation
}
 
enum  _SECURITY_LOGON_TYPE {
  Interactive = 2 , Network , Batch , Service ,
  Proxy , Unlock , UndefinedLogonType = 0 , Interactive = 2 ,
  Network , Batch , Service , Proxy ,
  Unlock , NetworkCleartext , NewCredentials
}
 
enum  _TRUSTED_INFORMATION_CLASS {
  TrustedDomainNameInformation = 1 , TrustedControllersInformation , TrustedPosixOffsetInformation , TrustedPasswordInformation ,
  TrustedDomainInformationBasic , TrustedDomainInformationEx , TrustedDomainAuthInformation , TrustedDomainFullInformation ,
  TrustedDomainAuthInformationInternal , TrustedDomainFullInformationInternal , TrustedDomainNameInformation = 1 , TrustedControllersInformation ,
  TrustedPosixOffsetInformation , TrustedPasswordInformation , TrustedDomainInformationBasic , TrustedDomainInformationEx ,
  TrustedDomainAuthInformation , TrustedDomainFullInformation , TrustedDomainAuthInformationInternal , TrustedDomainFullInformationInternal ,
  TrustedDomainInformationEx2Internal , TrustedDomainFullInformation2Internal , TrustedDomainSupportedEncryptionTypes
}
 
enum  _LSA_FOREST_TRUST_RECORD_TYPE {
  ForestTrustTopLevelName , ForestTrustTopLevelNameEx , ForestTrustDomainInfo , ForestTrustRecordTypeLast = ForestTrustDomainInfo ,
  ForestTrustTopLevelName = 0 , ForestTrustTopLevelNameEx = 1 , ForestTrustDomainInfo = 2 , ForestTrustTopLevelName = 0 ,
  ForestTrustTopLevelNameEx = 1 , ForestTrustDomainInfo = 2
}
 
enum  _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE {
  CollisionTdo , CollisionXref , CollisionOther , CollisionTdo = 0 ,
  CollisionXref , CollisionOther
}
 

Functions

BOOLEAN WINAPI RtlGenRandom (PVOID, ULONG)
 
NTSTATUS WINAPI RtlEncryptMemory (PVOID Memory, ULONG MemorySize, ULONG OptionFlags)
 
NTSTATUS WINAPI RtlDecryptMemory (PVOID Memory, ULONG MemorySize, ULONG OptionFlags)
 
NTSTATUS NTAPI LsaAddAccountRights (LSA_HANDLE, PSID, PLSA_UNICODE_STRING, ULONG)
 
NTSTATUS NTAPI LsaAddPrivilegesToAccount (LSA_HANDLE, PPRIVILEGE_SET)
 
NTSTATUS NTAPI LsaCallAuthenticationPackage (HANDLE, ULONG, PVOID, ULONG, PVOID *, PULONG, PNTSTATUS)
 
NTSTATUS NTAPI LsaClearAuditLog (LSA_HANDLE)
 
NTSTATUS NTAPI LsaClose (LSA_HANDLE)
 
NTSTATUS NTAPI LsaConnectUntrusted (PHANDLE)
 
NTSTATUS NTAPI LsaCreateAccount (LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaCreateSecret (LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaCreateTrustedDomain (LSA_HANDLE, PLSA_TRUST_INFORMATION, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaCreateTrustedDomainEx (LSA_HANDLE, PTRUSTED_DOMAIN_INFORMATION_EX, PTRUSTED_DOMAIN_AUTH_INFORMATION, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaDelete (LSA_HANDLE)
 
NTSTATUS NTAPI LsaDeleteTrustedDomain (LSA_HANDLE, PSID)
 
NTSTATUS NTAPI LsaDeregisterLogonProcess (HANDLE)
 
NTSTATUS NTAPI LsaEnumerateAccountRights (LSA_HANDLE, PSID, PLSA_UNICODE_STRING *, PULONG)
 
NTSTATUS NTAPI LsaEnumerateAccounts (LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
 
NTSTATUS NTAPI LsaEnumerateAccountsWithUserRight (LSA_HANDLE, PLSA_UNICODE_STRING, PVOID *, PULONG)
 
NTSTATUS NTAPI LsaEnumerateLogonSessions (PULONG, PLUID *)
 
NTSTATUS NTAPI LsaEnumeratePrivileges (LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
 
NTSTATUS NTAPI LsaEnumeratePrivilegesOfAccount (LSA_HANDLE, PPRIVILEGE_SET *)
 
NTSTATUS NTAPI LsaEnumerateTrustedDomains (LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
 
NTSTATUS NTAPI LsaEnumerateTrustedDomainsEx (LSA_HANDLE, PLSA_ENUMERATION_HANDLE, PVOID *, ULONG, PULONG)
 
NTSTATUS NTAPI LsaFreeMemory (PVOID)
 
NTSTATUS NTAPI LsaFreeReturnBuffer (PVOID)
 
NTSTATUS NTAPI LsaGetLogonSessionData (PLUID, PSECURITY_LOGON_SESSION_DATA *)
 
NTSTATUS NTAPI LsaGetQuotasForAccount (LSA_HANDLE, PQUOTA_LIMITS)
 
NTSTATUS NTAPI LsaGetRemoteUserName (PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *, PLSA_UNICODE_STRING *)
 
NTSTATUS NTAPI LsaGetSystemAccessAccount (LSA_HANDLE, PULONG)
 
NTSTATUS NTAPI LsaGetUserName (PUNICODE_STRING *, PUNICODE_STRING *)
 
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 LsaLookupAuthenticationPackage (HANDLE, PLSA_STRING, PULONG)
 
NTSTATUS NTAPI LsaLookupNames (LSA_HANDLE, ULONG, PLSA_UNICODE_STRING, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_SID *)
 
NTSTATUS NTAPI LsaLookupNames2 (LSA_HANDLE, ULONG, ULONG, PLSA_UNICODE_STRING, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_SID2 *)
 
NTSTATUS NTAPI LsaLookupPrivilegeDisplayName (LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *, PUSHORT)
 
NTSTATUS NTAPI LsaLookupPrivilegeName (LSA_HANDLE, PLUID, PLSA_UNICODE_STRING *)
 
NTSTATUS NTAPI LsaLookupPrivilegeValue (LSA_HANDLE, PLSA_UNICODE_STRING, PLUID)
 
NTSTATUS NTAPI LsaLookupSids (LSA_HANDLE, ULONG, PSID *, PLSA_REFERENCED_DOMAIN_LIST *, PLSA_TRANSLATED_NAME *)
 
ULONG NTAPI LsaNtStatusToWinError (NTSTATUS)
 
NTSTATUS NTAPI LsaOpenAccount (LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaOpenPolicy (PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaOpenPolicySce (PLSA_UNICODE_STRING, PLSA_OBJECT_ATTRIBUTES, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaOpenSecret (LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaQuerySecurityObject (LSA_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR *)
 
NTSTATUS NTAPI LsaOpenTrustedDomain (LSA_HANDLE, PSID, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaOpenTrustedDomainByName (LSA_HANDLE, PLSA_UNICODE_STRING, ACCESS_MASK, PLSA_HANDLE)
 
NTSTATUS NTAPI LsaQueryDomainInformationPolicy (LSA_HANDLE, POLICY_DOMAIN_INFORMATION_CLASS, PVOID *)
 
NTSTATUS NTAPI LsaQueryInformationPolicy (LSA_HANDLE, POLICY_INFORMATION_CLASS, PVOID *)
 
NTSTATUS NTAPI LsaQuerySecret (LSA_HANDLE, PLSA_UNICODE_STRING *, PLARGE_INTEGER, PLSA_UNICODE_STRING *, PLARGE_INTEGER)
 
NTSTATUS NTAPI LsaQueryTrustedDomainInfo (LSA_HANDLE, PSID, TRUSTED_INFORMATION_CLASS, PVOID *)
 
NTSTATUS NTAPI LsaQueryTrustedDomainInfoByName (LSA_HANDLE, PLSA_UNICODE_STRING, TRUSTED_INFORMATION_CLASS, PVOID *)
 
NTSTATUS NTAPI LsaRegisterLogonProcess (PLSA_STRING, PHANDLE, PLSA_OPERATIONAL_MODE)
 
NTSTATUS NTAPI LsaRegisterPolicyChangeNotification (POLICY_NOTIFICATION_INFORMATION_CLASS, HANDLE)
 
NTSTATUS NTAPI LsaRemoveAccountRights (LSA_HANDLE, PSID, BOOLEAN, PLSA_UNICODE_STRING, ULONG)
 
NTSTATUS NTAPI LsaRemovePrivilegesFromAccount (LSA_HANDLE, BOOLEAN, PPRIVILEGE_SET)
 
NTSTATUS NTAPI LsaRetrievePrivateData (LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING *)
 
NTSTATUS NTAPI LsaSetDomainInformationPolicy (LSA_HANDLE, POLICY_DOMAIN_INFORMATION_CLASS, PVOID)
 
NTSTATUS NTAPI LsaSetInformationPolicy (LSA_HANDLE, POLICY_INFORMATION_CLASS, PVOID)
 
NTSTATUS NTAPI LsaSetInformationTrustedDomain (LSA_HANDLE, TRUSTED_INFORMATION_CLASS, PVOID)
 
NTSTATUS NTAPI LsaSetQuotasForAccount (LSA_HANDLE, PQUOTA_LIMITS)
 
NTSTATUS NTAPI LsaSetSecret (LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING)
 
NTSTATUS NTAPI LsaSetSecurityObject (LSA_HANDLE, SECURITY_INFORMATION, PSECURITY_DESCRIPTOR)
 
NTSTATUS NTAPI LsaSetSystemAccessAccount (LSA_HANDLE, ULONG)
 
NTSTATUS NTAPI LsaSetTrustedDomainInformation (LSA_HANDLE, PSID, TRUSTED_INFORMATION_CLASS, PVOID)
 
NTSTATUS NTAPI LsaSetTrustedDomainInfoByName (LSA_HANDLE, PLSA_UNICODE_STRING, TRUSTED_INFORMATION_CLASS, PVOID)
 
NTSTATUS NTAPI LsaStorePrivateData (LSA_HANDLE, PLSA_UNICODE_STRING, PLSA_UNICODE_STRING)
 
NTSTATUS NTAPI LsaUnregisterPolicyChangeNotification (POLICY_NOTIFICATION_INFORMATION_CLASS, HANDLE)
 

Macro Definition Documentation

◆ _DOMAIN_PASSWORD_INFORMATION_DEFINED

#define _DOMAIN_PASSWORD_INFORMATION_DEFINED

Definition at line 354 of file ntsecapi.h.

◆ KERB_WRAP_NO_ENCRYPT

#define KERB_WRAP_NO_ENCRYPT   0x80000001

Definition at line 7 of file ntsecapi.h.

◆ LOGON_CACHED_ACCOUNT

#define LOGON_CACHED_ACCOUNT   4

Definition at line 10 of file ntsecapi.h.

◆ LOGON_EXTRA_SIDS

#define LOGON_EXTRA_SIDS   32

Definition at line 12 of file ntsecapi.h.

◆ LOGON_GRACE_LOGON

#define LOGON_GRACE_LOGON   16777216

Definition at line 18 of file ntsecapi.h.

◆ LOGON_GUEST

#define LOGON_GUEST   1

Definition at line 8 of file ntsecapi.h.

◆ LOGON_NOENCRYPTION

#define LOGON_NOENCRYPTION   2

Definition at line 9 of file ntsecapi.h.

◆ LOGON_NTLMV2_ENABLED

#define LOGON_NTLMV2_ENABLED   256

Definition at line 15 of file ntsecapi.h.

◆ LOGON_PROFILE_PATH_RETURNED

#define LOGON_PROFILE_PATH_RETURNED   1024

Definition at line 17 of file ntsecapi.h.

◆ LOGON_RESOURCE_GROUPS

#define LOGON_RESOURCE_GROUPS   512

Definition at line 16 of file ntsecapi.h.

◆ LOGON_SERVER_TRUST_ACCOUNT

#define LOGON_SERVER_TRUST_ACCOUNT   128

Definition at line 14 of file ntsecapi.h.

◆ LOGON_SUBAUTH_SESSION_KEY

#define LOGON_SUBAUTH_SESSION_KEY   64

Definition at line 13 of file ntsecapi.h.

◆ LOGON_USED_LM_PASSWORD

#define LOGON_USED_LM_PASSWORD   8

Definition at line 11 of file ntsecapi.h.

◆ LSA_MODE_INDIVIDUAL_ACCOUNTS

#define LSA_MODE_INDIVIDUAL_ACCOUNTS   2

Definition at line 20 of file ntsecapi.h.

◆ LSA_MODE_LOG_FULL

#define LSA_MODE_LOG_FULL   4

Definition at line 22 of file ntsecapi.h.

◆ LSA_MODE_MANDATORY_ACCESS

#define LSA_MODE_MANDATORY_ACCESS   3

Definition at line 21 of file ntsecapi.h.

◆ LSA_MODE_PASSWORD_PROTECTED

#define LSA_MODE_PASSWORD_PROTECTED   1

Definition at line 19 of file ntsecapi.h.

◆ LSA_SUCCESS

#define LSA_SUCCESS (   x)    ((LONG)(x)>=0)

Definition at line 23 of file ntsecapi.h.

◆ MICROSOFT_KERBEROS_NAME_A

#define MICROSOFT_KERBEROS_NAME_A   "Kerberos"

Definition at line 24 of file ntsecapi.h.

◆ MICROSOFT_KERBEROS_NAME_W

#define MICROSOFT_KERBEROS_NAME_W   L"Kerberos"

Definition at line 25 of file ntsecapi.h.

◆ MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT

#define MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT   32

Definition at line 26 of file ntsecapi.h.

◆ MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT

#define MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT   2048

Definition at line 27 of file ntsecapi.h.

◆ MSV1_0_CHALLENGE_LENGTH

#define MSV1_0_CHALLENGE_LENGTH   8

Definition at line 28 of file ntsecapi.h.

◆ MSV1_0_CLEARTEXT_PASSWORD_ALLOWED

#define MSV1_0_CLEARTEXT_PASSWORD_ALLOWED   2

Definition at line 29 of file ntsecapi.h.

◆ MSV1_0_CRED_LM_PRESENT

#define MSV1_0_CRED_LM_PRESENT   1

Definition at line 30 of file ntsecapi.h.

◆ MSV1_0_CRED_NT_PRESENT

#define MSV1_0_CRED_NT_PRESENT   2

Definition at line 31 of file ntsecapi.h.

◆ MSV1_0_CRED_VERSION

#define MSV1_0_CRED_VERSION   0

Definition at line 32 of file ntsecapi.h.

◆ MSV1_0_DERIVECRED_TYPE_SHA1

#define MSV1_0_DERIVECRED_TYPE_SHA1   0

Definition at line 534 of file ntsecapi.h.

◆ MSV1_0_DONT_TRY_GUEST_ACCOUNT

#define MSV1_0_DONT_TRY_GUEST_ACCOUNT   16

Definition at line 33 of file ntsecapi.h.

◆ MSV1_0_LANMAN_SESSION_KEY_LENGTH

#define MSV1_0_LANMAN_SESSION_KEY_LENGTH   8

Definition at line 34 of file ntsecapi.h.

◆ MSV1_0_MAX_AVL_SIZE

#define MSV1_0_MAX_AVL_SIZE   64000

Definition at line 36 of file ntsecapi.h.

◆ MSV1_0_MAX_NTLM3_LIFE

#define MSV1_0_MAX_NTLM3_LIFE   1800

Definition at line 35 of file ntsecapi.h.

◆ MSV1_0_MNS_LOGON

#define MSV1_0_MNS_LOGON   16777216

Definition at line 37 of file ntsecapi.h.

◆ MSV1_0_NTLM3_INPUT_LENGTH

Definition at line 40 of file ntsecapi.h.

◆ MSV1_0_NTLM3_OWF_LENGTH

#define MSV1_0_NTLM3_OWF_LENGTH   16

Definition at line 39 of file ntsecapi.h.

◆ MSV1_0_NTLM3_RESPONSE_LENGTH

#define MSV1_0_NTLM3_RESPONSE_LENGTH   16

Definition at line 38 of file ntsecapi.h.

◆ MSV1_0_OWF_PASSWORD_LENGTH

#define MSV1_0_OWF_PASSWORD_LENGTH   16

Definition at line 41 of file ntsecapi.h.

◆ MSV1_0_PACKAGE_NAME

#define MSV1_0_PACKAGE_NAME   "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"

Definition at line 42 of file ntsecapi.h.

◆ MSV1_0_PACKAGE_NAMEW

#define MSV1_0_PACKAGE_NAMEW   L"MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"

Definition at line 43 of file ntsecapi.h.

◆ MSV1_0_PACKAGE_NAMEW_LENGTH

#define MSV1_0_PACKAGE_NAMEW_LENGTH   sizeof(MSV1_0_PACKAGE_NAMEW)-sizeof(WCHAR)

Definition at line 44 of file ntsecapi.h.

◆ MSV1_0_RETURN_PASSWORD_EXPIRY

#define MSV1_0_RETURN_PASSWORD_EXPIRY   64

Definition at line 46 of file ntsecapi.h.

◆ MSV1_0_RETURN_PROFILE_PATH

#define MSV1_0_RETURN_PROFILE_PATH   512

Definition at line 47 of file ntsecapi.h.

◆ MSV1_0_RETURN_USER_PARAMETERS

#define MSV1_0_RETURN_USER_PARAMETERS   8

Definition at line 45 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_DLL

#define MSV1_0_SUBAUTHENTICATION_DLL   0xff000000

Definition at line 49 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_DLL_EX

#define MSV1_0_SUBAUTHENTICATION_DLL_EX   1048576

Definition at line 48 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_DLL_IIS

#define MSV1_0_SUBAUTHENTICATION_DLL_IIS   132

Definition at line 52 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_DLL_RAS

#define MSV1_0_SUBAUTHENTICATION_DLL_RAS   2

Definition at line 51 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_DLL_SHIFT

#define MSV1_0_SUBAUTHENTICATION_DLL_SHIFT   24

Definition at line 50 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_FLAGS

#define MSV1_0_SUBAUTHENTICATION_FLAGS   0xff000000

Definition at line 53 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_KEY

#define MSV1_0_SUBAUTHENTICATION_KEY   "System\\CurrentControlSet\\Control\\Lsa\\MSV1_0"

Definition at line 54 of file ntsecapi.h.

◆ MSV1_0_SUBAUTHENTICATION_VALUE

#define MSV1_0_SUBAUTHENTICATION_VALUE   "Auth"

Definition at line 55 of file ntsecapi.h.

◆ MSV1_0_TRY_GUEST_ACCOUNT_ONLY

#define MSV1_0_TRY_GUEST_ACCOUNT_ONLY   256

Definition at line 56 of file ntsecapi.h.

◆ MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY

#define MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY   1024

Definition at line 57 of file ntsecapi.h.

◆ MSV1_0_UPDATE_LOGON_STATISTICS

#define MSV1_0_UPDATE_LOGON_STATISTICS   4

Definition at line 58 of file ntsecapi.h.

◆ MSV1_0_USE_CLIENT_CHALLENGE

#define MSV1_0_USE_CLIENT_CHALLENGE   128

Definition at line 59 of file ntsecapi.h.

◆ MSV1_0_USER_SESSION_KEY_LENGTH

#define MSV1_0_USER_SESSION_KEY_LENGTH   16

Definition at line 60 of file ntsecapi.h.

◆ POLICY_ALL_ACCESS

#define POLICY_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED|4095)

Definition at line 77 of file ntsecapi.h.

◆ POLICY_AUDIT_EVENT_FAILURE

#define POLICY_AUDIT_EVENT_FAILURE   2

Definition at line 80 of file ntsecapi.h.

◆ POLICY_AUDIT_EVENT_MASK

#define POLICY_AUDIT_EVENT_MASK   7

Definition at line 82 of file ntsecapi.h.

◆ POLICY_AUDIT_EVENT_NONE

#define POLICY_AUDIT_EVENT_NONE   4

Definition at line 81 of file ntsecapi.h.

◆ POLICY_AUDIT_EVENT_SUCCESS

#define POLICY_AUDIT_EVENT_SUCCESS   1

Definition at line 79 of file ntsecapi.h.

◆ POLICY_AUDIT_EVENT_UNCHANGED

#define POLICY_AUDIT_EVENT_UNCHANGED   0

Definition at line 78 of file ntsecapi.h.

◆ POLICY_AUDIT_LOG_ADMIN

#define POLICY_AUDIT_LOG_ADMIN   512

Definition at line 70 of file ntsecapi.h.

◆ POLICY_CREATE_ACCOUNT

#define POLICY_CREATE_ACCOUNT   16

Definition at line 65 of file ntsecapi.h.

◆ POLICY_CREATE_PRIVILEGE

#define POLICY_CREATE_PRIVILEGE   64

Definition at line 67 of file ntsecapi.h.

◆ POLICY_CREATE_SECRET

#define POLICY_CREATE_SECRET   32

Definition at line 66 of file ntsecapi.h.

◆ POLICY_EXECUTE

#define POLICY_EXECUTE   (STANDARD_RIGHTS_EXECUTE|2049)

Definition at line 76 of file ntsecapi.h.

◆ POLICY_GET_PRIVATE_INFORMATION

#define POLICY_GET_PRIVATE_INFORMATION   4

Definition at line 63 of file ntsecapi.h.

◆ POLICY_KERBEROS_FORWARDABLE

#define POLICY_KERBEROS_FORWARDABLE   1

Definition at line 97 of file ntsecapi.h.

◆ POLICY_KERBEROS_POSTDATEABLE

#define POLICY_KERBEROS_POSTDATEABLE   8

Definition at line 100 of file ntsecapi.h.

◆ POLICY_KERBEROS_PROXYABLE

#define POLICY_KERBEROS_PROXYABLE   2

Definition at line 98 of file ntsecapi.h.

◆ POLICY_KERBEROS_RENEWABLE

#define POLICY_KERBEROS_RENEWABLE   4

Definition at line 99 of file ntsecapi.h.

◆ POLICY_LOCATION_DS

#define POLICY_LOCATION_DS   2

Definition at line 84 of file ntsecapi.h.

◆ POLICY_LOCATION_LOCAL

#define POLICY_LOCATION_LOCAL   1

Definition at line 83 of file ntsecapi.h.

◆ POLICY_LOOKUP_NAMES

#define POLICY_LOOKUP_NAMES   2048

Definition at line 72 of file ntsecapi.h.

◆ POLICY_MACHINE_POLICY_DEFAULTED

#define POLICY_MACHINE_POLICY_DEFAULTED   1

Definition at line 86 of file ntsecapi.h.

◆ POLICY_MACHINE_POLICY_EXPLICIT

#define POLICY_MACHINE_POLICY_EXPLICIT   2

Definition at line 87 of file ntsecapi.h.

◆ POLICY_MACHINE_POLICY_LOCAL

#define POLICY_MACHINE_POLICY_LOCAL   0

Definition at line 85 of file ntsecapi.h.

◆ POLICY_MACHINE_POLICY_UNKNOWN

#define POLICY_MACHINE_POLICY_UNKNOWN   0xFFFFFFFF

Definition at line 88 of file ntsecapi.h.

◆ POLICY_NOTIFICATION

#define POLICY_NOTIFICATION   4096

Definition at line 73 of file ntsecapi.h.

◆ POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE

#define POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE   32

Definition at line 94 of file ntsecapi.h.

◆ POLICY_QOS_DHCP_SERVER_ALLOWD

#define POLICY_QOS_DHCP_SERVER_ALLOWD   128

Definition at line 96 of file ntsecapi.h.

◆ POLICY_QOS_INBOUND_CONFIDENTIALITY

#define POLICY_QOS_INBOUND_CONFIDENTIALITY   16

Definition at line 93 of file ntsecapi.h.

◆ POLICY_QOS_INBOUND_INTEGREITY

#define POLICY_QOS_INBOUND_INTEGREITY   8

Definition at line 92 of file ntsecapi.h.

◆ POLICY_QOS_OUTBOUND_CONFIDENTIALITY

#define POLICY_QOS_OUTBOUND_CONFIDENTIALITY   4

Definition at line 91 of file ntsecapi.h.

◆ POLICY_QOS_OUTBOUND_INTEGRITY

#define POLICY_QOS_OUTBOUND_INTEGRITY   2

Definition at line 90 of file ntsecapi.h.

◆ POLICY_QOS_RAS_SERVER_ALLOWED

#define POLICY_QOS_RAS_SERVER_ALLOWED   64

Definition at line 95 of file ntsecapi.h.

◆ POLICY_QOS_SCHANEL_REQUIRED

#define POLICY_QOS_SCHANEL_REQUIRED   1

Definition at line 89 of file ntsecapi.h.

◆ POLICY_READ

#define POLICY_READ   (STANDARD_RIGHTS_READ|6)

Definition at line 74 of file ntsecapi.h.

◆ POLICY_SERVER_ADMIN

#define POLICY_SERVER_ADMIN   1024

Definition at line 71 of file ntsecapi.h.

◆ POLICY_SET_AUDIT_REQUIREMENTS

#define POLICY_SET_AUDIT_REQUIREMENTS   256

Definition at line 69 of file ntsecapi.h.

◆ POLICY_SET_DEFAULT_QUOTA_LIMITS

#define POLICY_SET_DEFAULT_QUOTA_LIMITS   128

Definition at line 68 of file ntsecapi.h.

◆ POLICY_TRUST_ADMIN

#define POLICY_TRUST_ADMIN   8

Definition at line 64 of file ntsecapi.h.

◆ POLICY_VIEW_AUDIT_INFORMATION

#define POLICY_VIEW_AUDIT_INFORMATION   2

Definition at line 62 of file ntsecapi.h.

◆ POLICY_VIEW_LOCAL_INFORMATION

#define POLICY_VIEW_LOCAL_INFORMATION   1

Definition at line 61 of file ntsecapi.h.

◆ POLICY_WRITE

#define POLICY_WRITE   (STANDARD_RIGHTS_WRITE|2040)

Definition at line 75 of file ntsecapi.h.

◆ RTL_ENCRYPT_MEMORY_SIZE

#define RTL_ENCRYPT_MEMORY_SIZE   8

Definition at line 699 of file ntsecapi.h.

◆ RTL_ENCRYPT_OPTION_CROSS_PROCESS

#define RTL_ENCRYPT_OPTION_CROSS_PROCESS   0x01

Definition at line 701 of file ntsecapi.h.

◆ RTL_ENCRYPT_OPTION_SAME_LOGON

#define RTL_ENCRYPT_OPTION_SAME_LOGON   0x02

Definition at line 702 of file ntsecapi.h.

◆ RTL_ENCRYPT_OPTION_SAME_PROCESS

#define RTL_ENCRYPT_OPTION_SAME_PROCESS   0x00

Definition at line 700 of file ntsecapi.h.

◆ RtlDecryptMemory

#define RtlDecryptMemory   SystemFunction041

Definition at line 693 of file ntsecapi.h.

◆ RtlEncryptMemory

#define RtlEncryptMemory   SystemFunction040

Definition at line 692 of file ntsecapi.h.

◆ RtlGenRandom

#define RtlGenRandom   SystemFunction036

Definition at line 691 of file ntsecapi.h.

◆ SAM_INIT_NOTIFICATION_ROUTINE

#define SAM_INIT_NOTIFICATION_ROUTINE   "InitializeChangeNotify"

Definition at line 102 of file ntsecapi.h.

◆ SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE

#define SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE   "PasswordChangeNotify"

Definition at line 101 of file ntsecapi.h.

◆ SAM_PASSWORD_FILTER_ROUTINE

#define SAM_PASSWORD_FILTER_ROUTINE   "PasswordFilter"

Definition at line 103 of file ntsecapi.h.

◆ SCESTATUS_ACCESS_DENIED

#define SCESTATUS_ACCESS_DENIED   9L

Definition at line 139 of file ntsecapi.h.

◆ SCESTATUS_ALREADY_RUNNING

#define SCESTATUS_ALREADY_RUNNING   13L

Definition at line 143 of file ntsecapi.h.

◆ SCESTATUS_BAD_FORMAT

#define SCESTATUS_BAD_FORMAT   7L

Definition at line 137 of file ntsecapi.h.

◆ SCESTATUS_BUFFER_TOO_SMALL

#define SCESTATUS_BUFFER_TOO_SMALL   5L

Definition at line 135 of file ntsecapi.h.

◆ SCESTATUS_CANT_DELETE

#define SCESTATUS_CANT_DELETE   10L

Definition at line 140 of file ntsecapi.h.

◆ SCESTATUS_EXCEPTION_IN_SERVER

#define SCESTATUS_EXCEPTION_IN_SERVER   16L

Definition at line 146 of file ntsecapi.h.

◆ SCESTATUS_INVALID_DATA

#define SCESTATUS_INVALID_DATA   3L

Definition at line 133 of file ntsecapi.h.

◆ SCESTATUS_INVALID_PARAMETER

#define SCESTATUS_INVALID_PARAMETER   1L

Definition at line 131 of file ntsecapi.h.

◆ SCESTATUS_MOD_NOT_FOUND

#define SCESTATUS_MOD_NOT_FOUND   15L

Definition at line 145 of file ntsecapi.h.

◆ SCESTATUS_NO_MAPPING

#define SCESTATUS_NO_MAPPING   18L

Definition at line 148 of file ntsecapi.h.

◆ SCESTATUS_NO_TEMPLATE_GIVEN

#define SCESTATUS_NO_TEMPLATE_GIVEN   17L

Definition at line 147 of file ntsecapi.h.

◆ SCESTATUS_NOT_ENOUGH_RESOURCE

#define SCESTATUS_NOT_ENOUGH_RESOURCE   8L

Definition at line 138 of file ntsecapi.h.

◆ SCESTATUS_OBJECT_EXISTS

#define SCESTATUS_OBJECT_EXISTS   4L

Definition at line 134 of file ntsecapi.h.

◆ SCESTATUS_OTHER_ERROR

#define SCESTATUS_OTHER_ERROR   12L

Definition at line 142 of file ntsecapi.h.

◆ SCESTATUS_PREFIX_OVERFLOW

#define SCESTATUS_PREFIX_OVERFLOW   11L

Definition at line 141 of file ntsecapi.h.

◆ SCESTATUS_PROFILE_NOT_FOUND

#define SCESTATUS_PROFILE_NOT_FOUND   6L

Definition at line 136 of file ntsecapi.h.

◆ SCESTATUS_RECORD_NOT_FOUND

#define SCESTATUS_RECORD_NOT_FOUND   2L

Definition at line 132 of file ntsecapi.h.

◆ SCESTATUS_SERVICE_NOT_SUPPORT

#define SCESTATUS_SERVICE_NOT_SUPPORT   14L

Definition at line 144 of file ntsecapi.h.

◆ SCESTATUS_SUCCESS

#define SCESTATUS_SUCCESS   0L

Definition at line 130 of file ntsecapi.h.

◆ SCESTATUS_TRUST_FAIL

#define SCESTATUS_TRUST_FAIL   19L

Definition at line 149 of file ntsecapi.h.

◆ SE_BATCH_LOGON_NAME

#define SE_BATCH_LOGON_NAME   TEXT("SeBatchLogonRight")

Definition at line 106 of file ntsecapi.h.

◆ SE_DENY_BATCH_LOGON_NAME

#define SE_DENY_BATCH_LOGON_NAME   TEXT("SeDenyBatchLogonRight")

Definition at line 110 of file ntsecapi.h.

◆ SE_DENY_INTERACTIVE_LOGON_NAME

#define SE_DENY_INTERACTIVE_LOGON_NAME   TEXT("SeDenyInteractiveLogonRight")

Definition at line 108 of file ntsecapi.h.

◆ SE_DENY_NETWORK_LOGON_NAME

#define SE_DENY_NETWORK_LOGON_NAME   TEXT("SeDenyNetworkLogonRight")

Definition at line 109 of file ntsecapi.h.

◆ SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME

#define SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME   TEXT("SeDenyRemoteInteractiveLogonRight")

Definition at line 113 of file ntsecapi.h.

◆ SE_DENY_SERVICE_LOGON_NAME

#define SE_DENY_SERVICE_LOGON_NAME   TEXT("SeDenyServiceLogonRight")

Definition at line 111 of file ntsecapi.h.

◆ SE_INTERACTIVE_LOGON_NAME

#define SE_INTERACTIVE_LOGON_NAME   TEXT("SeInteractiveLogonRight")

Definition at line 104 of file ntsecapi.h.

◆ SE_NETWORK_LOGON_NAME

#define SE_NETWORK_LOGON_NAME   TEXT("SeNetworkLogonRight")

Definition at line 105 of file ntsecapi.h.

◆ SE_REMOTE_INTERACTIVE_LOGON_NAME

#define SE_REMOTE_INTERACTIVE_LOGON_NAME   TEXT("SeRemoteInteractiveLogonRight")

Definition at line 112 of file ntsecapi.h.

◆ SE_SERVICE_LOGON_NAME

#define SE_SERVICE_LOGON_NAME   TEXT("SeServiceLogonRight")

Definition at line 107 of file ntsecapi.h.

◆ TRUST_ATTRIBUTE_NON_TRANSITIVE

#define TRUST_ATTRIBUTE_NON_TRANSITIVE   1

Definition at line 114 of file ntsecapi.h.

◆ TRUST_ATTRIBUTE_TREE_PARENT

#define TRUST_ATTRIBUTE_TREE_PARENT   4194304

Definition at line 116 of file ntsecapi.h.

◆ TRUST_ATTRIBUTE_UPLEVEL_ONLY

#define TRUST_ATTRIBUTE_UPLEVEL_ONLY   2

Definition at line 115 of file ntsecapi.h.

◆ TRUST_ATTRIBUTES_VALID

#define TRUST_ATTRIBUTES_VALID   -16580609

Definition at line 117 of file ntsecapi.h.

◆ TRUST_AUTH_TYPE_CLEAR

#define TRUST_AUTH_TYPE_CLEAR   2

Definition at line 120 of file ntsecapi.h.

◆ TRUST_AUTH_TYPE_NONE

#define TRUST_AUTH_TYPE_NONE   0

Definition at line 118 of file ntsecapi.h.

◆ TRUST_AUTH_TYPE_NT4OWF

#define TRUST_AUTH_TYPE_NT4OWF   1

Definition at line 119 of file ntsecapi.h.

◆ TRUST_DIRECTION_BIDIRECTIONAL

#define TRUST_DIRECTION_BIDIRECTIONAL   3

Definition at line 124 of file ntsecapi.h.

◆ TRUST_DIRECTION_DISABLED

#define TRUST_DIRECTION_DISABLED   0

Definition at line 121 of file ntsecapi.h.

◆ TRUST_DIRECTION_INBOUND

#define TRUST_DIRECTION_INBOUND   1

Definition at line 122 of file ntsecapi.h.

◆ TRUST_DIRECTION_OUTBOUND

#define TRUST_DIRECTION_OUTBOUND   2

Definition at line 123 of file ntsecapi.h.

◆ TRUST_TYPE_DCE

#define TRUST_TYPE_DCE   4

Definition at line 128 of file ntsecapi.h.

◆ TRUST_TYPE_DOWNLEVEL

#define TRUST_TYPE_DOWNLEVEL   1

Definition at line 125 of file ntsecapi.h.

◆ TRUST_TYPE_MIT

#define TRUST_TYPE_MIT   3

Definition at line 127 of file ntsecapi.h.

◆ TRUST_TYPE_UPLEVEL

#define TRUST_TYPE_UPLEVEL   2

Definition at line 126 of file ntsecapi.h.

Typedef Documentation

◆ DOMAIN_PASSWORD_INFORMATION

◆ KERB_INTERACTIVE_LOGON

◆ KERB_LOGON_SUBMIT_TYPE

◆ LSA_AUTH_INFORMATION

◆ LSA_ENUMERATION_HANDLE

Definition at line 363 of file ntsecapi.h.

◆ LSA_ENUMERATION_INFORMATION

◆ LSA_FOREST_TRUST_BINARY_DATA

◆ LSA_FOREST_TRUST_COLLISION_INFORMATION

◆ LSA_FOREST_TRUST_COLLISION_RECORD

◆ LSA_FOREST_TRUST_COLLISION_RECORD_TYPE

◆ LSA_FOREST_TRUST_DOMAIN_INFO

◆ LSA_FOREST_TRUST_INFORMATION

◆ LSA_FOREST_TRUST_RECORD

◆ LSA_FOREST_TRUST_RECORD_TYPE

◆ LSA_HANDLE

typedef PVOID LSA_HANDLE

Definition at line 646 of file ntsecapi.h.

◆ LSA_OBJECT_ATTRIBUTES

◆ LSA_OPERATIONAL_MODE

Definition at line 367 of file ntsecapi.h.

◆ LSA_REFERENCED_DOMAIN_LIST

◆ LSA_STRING

◆ LSA_TRANSLATED_NAME

◆ LSA_TRANSLATED_SID

◆ LSA_TRANSLATED_SID2

◆ LSA_TRUST_INFORMATION

◆ LSA_UNICODE_STRING

◆ MSV1_0_AV_PAIR

◆ MSV1_0_CHANGEPASSWORD_REQUEST

◆ MSV1_0_CHANGEPASSWORD_RESPONSE

◆ MSV1_0_DERIVECRED_REQUEST

◆ MSV1_0_DERIVECRED_RESPONSE

◆ MSV1_0_INTERACTIVE_LOGON

◆ MSV1_0_INTERACTIVE_PROFILE

◆ MSV1_0_LM20_LOGON

◆ MSV1_0_LM20_LOGON_PROFILE

◆ MSV1_0_LOGON_SUBMIT_TYPE

◆ MSV1_0_NTLM3_RESPONSE

◆ MSV1_0_PROFILE_BUFFER_TYPE

◆ MSV1_0_PROTOCOL_MESSAGE_TYPE

◆ MSV1_0_SUBAUTH_LOGON

◆ MSV1_0_SUBAUTH_REQUEST

◆ MSV1_0_SUBAUTH_RESPONSE

◆ MSV1_0_SUPPLEMENTAL_CREDENTIAL

◆ NTSTATUS

typedef LONG NTSTATUS

Definition at line 152 of file ntsecapi.h.

◆ PDOMAIN_PASSWORD_INFORMATION

◆ PKERB_INTERACTIVE_LOGON

◆ PKERB_LOGON_SUBMIT_TYPE

◆ PLSA_AUTH_INFORMATION

◆ PLSA_ENUMERATION_HANDLE

Definition at line 363 of file ntsecapi.h.

◆ PLSA_ENUMERATION_INFORMATION

◆ PLSA_FOREST_TRUST_BINARY_DATA

◆ PLSA_FOREST_TRUST_COLLISION_INFORMATION

◆ PLSA_FOREST_TRUST_COLLISION_RECORD

◆ PLSA_FOREST_TRUST_DOMAIN_INFO

◆ PLSA_FOREST_TRUST_INFORMATION

◆ PLSA_FOREST_TRUST_RECORD

◆ PLSA_HANDLE

typedef PVOID * PLSA_HANDLE

Definition at line 646 of file ntsecapi.h.

◆ PLSA_OBJECT_ATTRIBUTES

◆ PLSA_OPERATIONAL_MODE

Definition at line 367 of file ntsecapi.h.

◆ PLSA_REFERENCED_DOMAIN_LIST

◆ PLSA_STRING

◆ PLSA_TRANSLATED_NAME

◆ PLSA_TRANSLATED_SID

◆ PLSA_TRANSLATED_SID2

◆ PLSA_TRUST_INFORMATION

◆ PLSA_UNICODE_STRING

◆ PMSV1_0_AV_PAIR

◆ PMSV1_0_CHANGEPASSWORD_REQUEST

◆ PMSV1_0_CHANGEPASSWORD_RESPONSE

◆ PMSV1_0_DERIVECRED_REQUEST

◆ PMSV1_0_DERIVECRED_RESPONSE

◆ PMSV1_0_INTERACTIVE_LOGON

◆ PMSV1_0_INTERACTIVE_PROFILE

◆ PMSV1_0_LM20_LOGON

◆ PMSV1_0_LM20_LOGON_PROFILE

◆ PMSV1_0_LOGON_SUBMIT_TYPE

◆ PMSV1_0_NTLM3_RESPONSE

◆ PMSV1_0_PROFILE_BUFFER_TYPE

◆ PMSV1_0_PROTOCOL_MESSAGE_TYPE

◆ PMSV1_0_SUBAUTH_LOGON

◆ PMSV1_0_SUBAUTH_REQUEST

◆ PMSV1_0_SUBAUTH_RESPONSE

◆ PMSV1_0_SUPPLEMENTAL_CREDENTIAL

◆ PNTSTATUS

typedef LONG * PNTSTATUS

Definition at line 152 of file ntsecapi.h.

◆ POLICY_ACCOUNT_DOMAIN_INFO

◆ POLICY_AUDIT_EVENT_OPTIONS

Definition at line 547 of file ntsecapi.h.

◆ POLICY_AUDIT_EVENT_TYPE

◆ POLICY_AUDIT_EVENTS_INFO

◆ POLICY_AUDIT_FULL_QUERY_INFO

◆ POLICY_AUDIT_FULL_SET_INFO

◆ POLICY_AUDIT_LOG_INFO

◆ POLICY_DEFAULT_QUOTA_INFO

◆ POLICY_DNS_DOMAIN_INFO

◆ POLICY_DOMAIN_INFORMATION_CLASS

◆ POLICY_DOMAIN_KERBEROS_TICKET_INFO

◆ POLICY_DOMAIN_LOCKOUT_INFO

◆ POLICY_DOMAIN_PASSWORD_INFO

◆ POLICY_DOMAIN_PUBLIC_KEY_INFO

◆ POLICY_DOMAIN_QUALITY_OF_SERVICE_INFO

◆ POLICY_EFS_INFO

◆ POLICY_INFORMATION_CLASS

◆ POLICY_LOCAL_IPSEC_REFERENCE_INFO

◆ POLICY_LOCAL_MACHINE_PASSWORD_INFO

◆ POLICY_LOCAL_POLICY_LOCATION_INFO

◆ POLICY_LOCAL_QUALITY_OF_SERVICE_INFO

◆ POLICY_LSA_SERVER_ROLE

◆ POLICY_LSA_SERVER_ROLE_INFO

◆ POLICY_MODIFICATION_INFO

◆ POLICY_NOTIFICATION_INFORMATION_CLASS

◆ POLICY_PD_ACCOUNT_INFO

◆ POLICY_PRIMARY_DOMAIN_INFO

◆ POLICY_PRIVILEGE_DEFINITION

◆ POLICY_REPLICA_SOURCE_INFO

◆ POLICY_SERVER_ENABLE_STATE

◆ PPOLICY_ACCOUNT_DOMAIN_INFO

◆ PPOLICY_AUDIT_EVENT_OPTIONS

Definition at line 547 of file ntsecapi.h.

◆ PPOLICY_AUDIT_EVENT_TYPE

◆ PPOLICY_AUDIT_EVENTS_INFO

◆ PPOLICY_AUDIT_FULL_QUERY_INFO

◆ PPOLICY_AUDIT_FULL_SET_INFO

◆ PPOLICY_AUDIT_LOG_INFO

◆ PPOLICY_DEFAULT_QUOTA_INFO

◆ PPOLICY_DNS_DOMAIN_INFO

◆ PPOLICY_DOMAIN_INFORMATION_CLASS

◆ PPOLICY_DOMAIN_KERBEROS_TICKET_INFO

◆ PPOLICY_DOMAIN_LOCKOUT_INFO

◆ PPOLICY_DOMAIN_PASSWORD_INFO

◆ PPOLICY_DOMAIN_PUBLIC_KEY_INFO

◆ PPOLICY_DOMAIN_QUALITY_OF_SERVICE_INFO

◆ PPOLICY_EFS_INFO

◆ PPOLICY_INFORMATION_CLASS

◆ PPOLICY_LOCAL_IPSEC_REFERENCE_INFO

◆ PPOLICY_LOCAL_MACHINE_PASSWORD_INFO

◆ PPOLICY_LOCAL_POLICY_LOCATION_INFO

◆ PPOLICY_LOCAL_QUALITY_OF_SERVICE_INFO

◆ PPOLICY_LSA_SERVER_ROLE

◆ PPOLICY_LSA_SERVER_ROLE_INFO

◆ PPOLICY_MODIFICATION_INFO

◆ PPOLICY_NOTIFICATION_INFORMATION_CLASS

◆ PPOLICY_PD_ACCOUNT_INFO

◆ PPOLICY_PRIMARY_DOMAIN_INFO

◆ PPOLICY_PRIVILEGE_DEFINITION

◆ PPOLICY_REPLICA_SOURCE_INFO

◆ PPOLICY_SERVER_ENABLE_STATE

◆ PSAM_INIT_NOTIFICATION_ROUTINE

typedef BOOLEAN(NTAPI * PSAM_INIT_NOTIFICATION_ROUTINE) (VOID)

Definition at line 802 of file ntsecapi.h.

◆ PSAM_PASSWORD_FILTER_ROUTINE

typedef BOOLEAN(NTAPI * PSAM_PASSWORD_FILTER_ROUTINE) (PUNICODE_STRING, PUNICODE_STRING, PUNICODE_STRING, BOOLEAN)

Definition at line 803 of file ntsecapi.h.

◆ PSAM_PASSWORD_NOTIFICATION_ROUTINE

typedef NTSTATUS(NTAPI * PSAM_PASSWORD_NOTIFICATION_ROUTINE) (PUNICODE_STRING, ULONG, PUNICODE_STRING)

Definition at line 800 of file ntsecapi.h.

◆ PSECURITY_LOGON_SESSION_DATA

◆ PSECURITY_LOGON_TYPE

◆ PSTRING

typedef LSA_STRING * PSTRING

Definition at line 187 of file ntsecapi.h.

◆ PTRUSTED_CONTROLLERS_INFO

◆ PTRUSTED_DOMAIN_AUTH_INFORMATION

◆ PTRUSTED_DOMAIN_FULL_INFORMATION

◆ PTRUSTED_DOMAIN_INFORMATION_BASIC

◆ PTRUSTED_DOMAIN_INFORMATION_EX

◆ PTRUSTED_DOMAIN_NAME_INFO

◆ PTRUSTED_INFORMATION_CLASS

◆ PTRUSTED_PASSWORD_INFO

◆ PTRUSTED_POSIX_OFFSET_INFO

◆ PUNICODE_STRING

Definition at line 186 of file ntsecapi.h.

◆ SECURITY_LOGON_SESSION_DATA

◆ SECURITY_LOGON_TYPE

◆ STRING

typedef LSA_STRING STRING

Definition at line 187 of file ntsecapi.h.

◆ TRUSTED_CONTROLLERS_INFO

◆ TRUSTED_DOMAIN_AUTH_INFORMATION

◆ TRUSTED_DOMAIN_FULL_INFORMATION

◆ TRUSTED_DOMAIN_INFORMATION_BASIC

◆ TRUSTED_DOMAIN_INFORMATION_EX

◆ TRUSTED_DOMAIN_NAME_INFO

◆ TRUSTED_INFORMATION_CLASS

◆ TRUSTED_PASSWORD_INFO

◆ TRUSTED_POSIX_OFFSET_INFO

◆ UNICODE_STRING

Definition at line 186 of file ntsecapi.h.

Enumeration Type Documentation

◆ _KERB_LOGON_SUBMIT_TYPE

Enumerator
KerbInteractiveLogon 
KerbS4ULogon 
KerbTicketLogon 
KerbTicketUnlockLogon 

Definition at line 191 of file ntsecapi.h.

192{
194 KerbS4ULogon = 12,
195 KerbTicketLogon = 10,
enum _KERB_LOGON_SUBMIT_TYPE * PKERB_LOGON_SUBMIT_TYPE
enum _KERB_LOGON_SUBMIT_TYPE KERB_LOGON_SUBMIT_TYPE
@ KerbTicketUnlockLogon
Definition: ntsecapi.h:196
@ KerbInteractiveLogon
Definition: ntsecapi.h:193
@ KerbS4ULogon
Definition: ntsecapi.h:194
@ KerbTicketLogon
Definition: ntsecapi.h:195

◆ _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE

Enumerator
CollisionTdo 
CollisionXref 
CollisionOther 
CollisionTdo 
CollisionXref 
CollisionOther 

Definition at line 348 of file ntsecapi.h.

348 {
@ CollisionOther
Definition: ntsecapi.h:351
@ CollisionTdo
Definition: ntsecapi.h:349
@ CollisionXref
Definition: ntsecapi.h:350
enum _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE LSA_FOREST_TRUST_COLLISION_RECORD_TYPE

◆ _LSA_FOREST_TRUST_RECORD_TYPE

Enumerator
ForestTrustTopLevelName 
ForestTrustTopLevelNameEx 
ForestTrustDomainInfo 
ForestTrustRecordTypeLast 
ForestTrustTopLevelName 
ForestTrustTopLevelNameEx 
ForestTrustDomainInfo 
ForestTrustTopLevelName 
ForestTrustTopLevelNameEx 
ForestTrustDomainInfo 

Definition at line 342 of file ntsecapi.h.

342 {
@ ForestTrustTopLevelNameEx
Definition: ntsecapi.h:344
@ ForestTrustRecordTypeLast
Definition: ntsecapi.h:346
@ ForestTrustDomainInfo
Definition: ntsecapi.h:345
@ ForestTrustTopLevelName
Definition: ntsecapi.h:343
enum _LSA_FOREST_TRUST_RECORD_TYPE LSA_FOREST_TRUST_RECORD_TYPE

◆ _MSV1_0_LOGON_SUBMIT_TYPE

Enumerator
MsV1_0InteractiveLogon 
MsV1_0Lm20Logon 
MsV1_0NetworkLogon 
MsV1_0SubAuthLogon 
MsV1_0WorkstationUnlockLogon 
MsV1_0InteractiveLogon 
MsV1_0Lm20Logon 
MsV1_0NetworkLogon 
MsV1_0SubAuthLogon 
MsV1_0WorkstationUnlockLogon 
MsV1_0S4ULogon 
MsV1_0VirtualLogon 

Definition at line 198 of file ntsecapi.h.

198 {
enum _MSV1_0_LOGON_SUBMIT_TYPE * PMSV1_0_LOGON_SUBMIT_TYPE
enum _MSV1_0_LOGON_SUBMIT_TYPE MSV1_0_LOGON_SUBMIT_TYPE
@ 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

◆ _MSV1_0_PROFILE_BUFFER_TYPE

Enumerator
MsV1_0InteractiveProfile 
MsV1_0Lm20LogonProfile 
MsV1_0SmartCardProfile 
MsV1_0InteractiveProfile 
MsV1_0Lm20LogonProfile 
MsV1_0SmartCardProfile 

Definition at line 205 of file ntsecapi.h.

205 {
enum _MSV1_0_PROFILE_BUFFER_TYPE * PMSV1_0_PROFILE_BUFFER_TYPE
@ MsV1_0InteractiveProfile
Definition: ntsecapi.h:206
@ MsV1_0SmartCardProfile
Definition: ntsecapi.h:208
@ MsV1_0Lm20LogonProfile
Definition: ntsecapi.h:207
enum _MSV1_0_PROFILE_BUFFER_TYPE MSV1_0_PROFILE_BUFFER_TYPE

◆ _MSV1_0_PROTOCOL_MESSAGE_TYPE

Enumerator
MsV1_0Lm20ChallengeRequest 
MsV1_0Lm20GetChallengeResponse 
MsV1_0EnumerateUsers 
MsV1_0GetUserInfo 
MsV1_0ReLogonUsers 
MsV1_0ChangePassword 
MsV1_0ChangeCachedPassword 
MsV1_0GenericPassthrough 
MsV1_0CacheLogon 
MsV1_0SubAuth 
MsV1_0DeriveCredential 
MsV1_0CacheLookup 
MsV1_0SetProcessOption 
MsV1_0Lm20ChallengeRequest 
MsV1_0Lm20GetChallengeResponse 
MsV1_0EnumerateUsers 
MsV1_0GetUserInfo 
MsV1_0ReLogonUsers 
MsV1_0ChangePassword 
MsV1_0ChangeCachedPassword 
MsV1_0GenericPassthrough 
MsV1_0CacheLogon 
MsV1_0SubAuth 
MsV1_0DeriveCredential 
MsV1_0CacheLookup 

Definition at line 217 of file ntsecapi.h.

217 {
230#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP)
232#endif
@ 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
enum _MSV1_0_PROTOCOL_MESSAGE_TYPE * PMSV1_0_PROTOCOL_MESSAGE_TYPE
enum _MSV1_0_PROTOCOL_MESSAGE_TYPE MSV1_0_PROTOCOL_MESSAGE_TYPE

◆ _POLICY_AUDIT_EVENT_TYPE

Enumerator
AuditCategorySystem 
AuditCategoryLogon 
AuditCategoryObjectAccess 
AuditCategoryPrivilegeUse 
AuditCategoryDetailedTracking 
AuditCategoryPolicyChange 
AuditCategoryAccountManagement 
AuditCategoryDirectoryServiceAccess 
AuditCategoryAccountLogon 

Definition at line 259 of file ntsecapi.h.

259 {
enum _POLICY_AUDIT_EVENT_TYPE * PPOLICY_AUDIT_EVENT_TYPE
@ 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
enum _POLICY_AUDIT_EVENT_TYPE POLICY_AUDIT_EVENT_TYPE

◆ _POLICY_DOMAIN_INFORMATION_CLASS

Enumerator
PolicyDomainIPSecReferenceInformation 
PolicyDomainQualityOfServiceInformation 
PolicyDomainEfsInformation 
PolicyDomainPublicKeyInformation 
PolicyDomainPasswordPolicyInformation 
PolicyDomainLockoutInformation 
PolicyDomainKerberosTicketInformation 
PolicyDomainQualityOfServiceInformation 
PolicyDomainEfsInformation 
PolicyDomainKerberosTicketInformation 

Definition at line 270 of file ntsecapi.h.

270 {
enum _POLICY_DOMAIN_INFORMATION_CLASS * PPOLICY_DOMAIN_INFORMATION_CLASS
enum _POLICY_DOMAIN_INFORMATION_CLASS POLICY_DOMAIN_INFORMATION_CLASS
@ 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

◆ _POLICY_INFORMATION_CLASS

Enumerator
PolicyAuditLogInformation 
PolicyAuditEventsInformation 
PolicyPrimaryDomainInformation 
PolicyPdAccountInformation 
PolicyAccountDomainInformation 
PolicyLsaServerRoleInformation 
PolicyReplicaSourceInformation 
PolicyDefaultQuotaInformation 
PolicyModificationInformation 
PolicyAuditFullSetInformation 
PolicyAuditFullQueryInformation 
PolicyDnsDomainInformation 
PolicyDnsDomainInformationInt 
PolicyLocalAccountDomainInformation 
PolicyLastEntry 
PolicyAuditLogInformation 
PolicyAuditEventsInformation 
PolicyPrimaryDomainInformation 
PolicyPdAccountInformation 
PolicyAccountDomainInformation 
PolicyLsaServerRoleInformation 
PolicyReplicaSourceInformation 
PolicyDefaultQuotaInformation 
PolicyModificationInformation 
PolicyAuditFullSetInformation 
PolicyAuditFullQueryInformation 
PolicyDnsDomainInformation 
PolicyDnsDomainInformationInt 
PolicyLocalAccountDomainInformation 
PolicyLastEntry 

Definition at line 242 of file 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
enum _POLICY_INFORMATION_CLASS * PPOLICY_INFORMATION_CLASS
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS

◆ _POLICY_LSA_SERVER_ROLE

Enumerator
PolicyServerRoleBackup 
PolicyServerRolePrimary 
PolicyServerRoleBackup 
PolicyServerRolePrimary 

Definition at line 234 of file ntsecapi.h.

234 {
enum _POLICY_LSA_SERVER_ROLE * PPOLICY_LSA_SERVER_ROLE
enum _POLICY_LSA_SERVER_ROLE POLICY_LSA_SERVER_ROLE
@ PolicyServerRoleBackup
Definition: ntsecapi.h:235
@ PolicyServerRolePrimary
Definition: ntsecapi.h:236

◆ _POLICY_NOTIFICATION_INFORMATION_CLASS

Enumerator
PolicyNotifyAuditEventsInformation 
PolicyNotifyAccountDomainInformation 
PolicyNotifyServerRoleInformation 
PolicyNotifyDnsDomainInformation 
PolicyNotifyDomainEfsInformation 
PolicyNotifyDomainKerberosTicketInformation 
PolicyNotifyMachineAccountPasswordInformation 

Definition at line 279 of file ntsecapi.h.

279 {
enum _POLICY_NOTIFICATION_INFORMATION_CLASS * PPOLICY_NOTIFICATION_INFORMATION_CLASS
@ 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
enum _POLICY_NOTIFICATION_INFORMATION_CLASS POLICY_NOTIFICATION_INFORMATION_CLASS

◆ _POLICY_SERVER_ENABLE_STATE

Enumerator
PolicyServerEnabled 
PolicyServerDisabled 

Definition at line 238 of file ntsecapi.h.

238 {
@ PolicyServerEnabled
Definition: ntsecapi.h:239
@ PolicyServerDisabled
Definition: ntsecapi.h:240
enum _POLICY_SERVER_ENABLE_STATE * PPOLICY_SERVER_ENABLE_STATE
enum _POLICY_SERVER_ENABLE_STATE POLICY_SERVER_ENABLE_STATE

◆ _SECURITY_LOGON_TYPE

Enumerator
Interactive 
Network 
Batch 
Service 
Proxy 
Unlock 
UndefinedLogonType 
Interactive 
Network 
Batch 
Service 
Proxy 
Unlock 
NetworkCleartext 
NewCredentials 

Definition at line 288 of file ntsecapi.h.

288 {
289 Interactive = 2,
290 Network,
291 Batch,
292 Service,
293 Proxy,
294 Unlock
enum _SECURITY_LOGON_TYPE * PSECURITY_LOGON_TYPE
@ 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
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE

◆ _TRUSTED_INFORMATION_CLASS

Enumerator
TrustedDomainNameInformation 
TrustedControllersInformation 
TrustedPosixOffsetInformation 
TrustedPasswordInformation 
TrustedDomainInformationBasic 
TrustedDomainInformationEx 
TrustedDomainAuthInformation 
TrustedDomainFullInformation 
TrustedDomainAuthInformationInternal 
TrustedDomainFullInformationInternal 
TrustedDomainNameInformation 
TrustedControllersInformation 
TrustedPosixOffsetInformation 
TrustedPasswordInformation 
TrustedDomainInformationBasic 
TrustedDomainInformationEx 
TrustedDomainAuthInformation 
TrustedDomainFullInformation 
TrustedDomainAuthInformationInternal 
TrustedDomainFullInformationInternal 
TrustedDomainInformationEx2Internal 
TrustedDomainFullInformation2Internal 
TrustedDomainSupportedEncryptionTypes 

Definition at line 330 of file ntsecapi.h.

330 {
enum _TRUSTED_INFORMATION_CLASS * PTRUSTED_INFORMATION_CLASS
@ 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
enum _TRUSTED_INFORMATION_CLASS TRUSTED_INFORMATION_CLASS

◆ MSV1_0_AVID

Enumerator
MsvAvEOL 
MsvAvNbComputerName 
MsvAvNbDomainName 
MsvAvDnsComputerName 
MsvAvDnsDomainName 

Definition at line 210 of file ntsecapi.h.

210 {
211 MsvAvEOL,
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

Function Documentation

◆ LsaAddAccountRights()

NTSTATUS NTAPI LsaAddAccountRights ( LSA_HANDLE  ,
PSID  ,
PLSA_UNICODE_STRING  ,
ULONG   
)

◆ LsaAddPrivilegesToAccount()

NTSTATUS NTAPI LsaAddPrivilegesToAccount ( LSA_HANDLE  ,
PPRIVILEGE_SET   
)

◆ LsaCallAuthenticationPackage()

NTSTATUS NTAPI LsaCallAuthenticationPackage ( HANDLE  ,
ULONG  ,
PVOID  ,
ULONG  ,
PVOID ,
PULONG  ,
PNTSTATUS   
)

◆ LsaClearAuditLog()

NTSTATUS NTAPI LsaClearAuditLog ( LSA_HANDLE  )

◆ LsaClose()

NTSTATUS NTAPI LsaClose ( LSA_HANDLE  )

◆ LsaConnectUntrusted()

NTSTATUS NTAPI LsaConnectUntrusted ( PHANDLE  )

◆ LsaCreateAccount()

NTSTATUS NTAPI LsaCreateAccount ( LSA_HANDLE  ,
PSID  ,
ACCESS_MASK  ,
PLSA_HANDLE   
)

◆ LsaCreateSecret()

NTSTATUS NTAPI LsaCreateSecret ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
ACCESS_MASK  ,
PLSA_HANDLE   
)

◆ LsaCreateTrustedDomain()

NTSTATUS NTAPI LsaCreateTrustedDomain ( LSA_HANDLE  ,
PLSA_TRUST_INFORMATION  ,
ACCESS_MASK  ,
PLSA_HANDLE   
)

◆ LsaCreateTrustedDomainEx()

◆ LsaDelete()

NTSTATUS NTAPI LsaDelete ( LSA_HANDLE  )

◆ LsaDeleteTrustedDomain()

NTSTATUS NTAPI LsaDeleteTrustedDomain ( LSA_HANDLE  ,
PSID   
)

◆ LsaDeregisterLogonProcess()

◆ LsaEnumerateAccountRights()

NTSTATUS NTAPI LsaEnumerateAccountRights ( LSA_HANDLE  ,
PSID  ,
PLSA_UNICODE_STRING ,
PULONG   
)

◆ LsaEnumerateAccounts()

NTSTATUS NTAPI LsaEnumerateAccounts ( LSA_HANDLE  ,
PLSA_ENUMERATION_HANDLE  ,
PVOID ,
ULONG  ,
PULONG   
)

◆ LsaEnumerateAccountsWithUserRight()

NTSTATUS NTAPI LsaEnumerateAccountsWithUserRight ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
PVOID ,
PULONG   
)

◆ LsaEnumerateLogonSessions()

NTSTATUS NTAPI LsaEnumerateLogonSessions ( PULONG  LogonSessionCount,
PLUID LogonSessionList 
)

Definition at line 208 of file lsalpc.c.

211{
212 LSA_API_MSG ApiMessage;
214
215 TRACE("LsaEnumerateLogonSessions(%p %p)\n", LogonSessionCount, LogonSessionList);
216
218 if (!NT_SUCCESS(Status))
219 return Status;
220
222 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.EnumLogonSessions);
223 ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
224 ApiMessage.h.u2.ZeroInit = 0;
225
227 (PPORT_MESSAGE)&ApiMessage,
228 (PPORT_MESSAGE)&ApiMessage);
229 if (!NT_SUCCESS(Status))
230 {
231 ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
232 return Status;
233 }
234
235 if (!NT_SUCCESS(ApiMessage.Status))
236 {
237 ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
238 return ApiMessage.Status;
239 }
240
241 *LogonSessionCount = ApiMessage.EnumLogonSessions.Reply.LogonSessionCount;
242 *LogonSessionList = ApiMessage.EnumLogonSessions.Reply.LogonSessionBuffer;
243
244 return Status;
245}
LONG NTSTATUS
Definition: precomp.h:26
#define ERR(fmt,...)
Definition: precomp.h:57
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:33
Status
Definition: gdiplustypes.h:25
NTSTATUS LsapOpenLsaPort(VOID)
Definition: lsalpc.c:52
HANDLE LsaPortHandle
Definition: lsalpc.c:26
#define LSA_PORT_MESSAGE_SIZE
Definition: lsass.h:200
#define LSA_PORT_DATA_SIZE(c)
Definition: lsass.h:199
@ LSASS_REQUEST_ENUM_LOGON_SESSIONS
Definition: lsass.h:24
NTSTATUS NTAPI NtRequestWaitReplyPort(IN HANDLE PortHandle, IN PPORT_MESSAGE LpcRequest, IN OUT PPORT_MESSAGE LpcReply)
Definition: send.c:696
#define TRACE(s)
Definition: solgame.cpp:4
LSA_ENUM_LOGON_SESSIONS_MSG EnumLogonSessions
Definition: lsass.h:191
PORT_MESSAGE h
Definition: lsass.h:177
LSA_API_NUMBER ApiNumber
Definition: lsass.h:183

◆ LsaEnumeratePrivileges()

NTSTATUS NTAPI LsaEnumeratePrivileges ( LSA_HANDLE  ,
PLSA_ENUMERATION_HANDLE  ,
PVOID ,
ULONG  ,
PULONG   
)

◆ LsaEnumeratePrivilegesOfAccount()

NTSTATUS NTAPI LsaEnumeratePrivilegesOfAccount ( LSA_HANDLE  ,
PPRIVILEGE_SET  
)

◆ LsaEnumerateTrustedDomains()

NTSTATUS NTAPI LsaEnumerateTrustedDomains ( LSA_HANDLE  ,
PLSA_ENUMERATION_HANDLE  ,
PVOID ,
ULONG  ,
PULONG   
)

◆ LsaEnumerateTrustedDomainsEx()

NTSTATUS NTAPI LsaEnumerateTrustedDomainsEx ( LSA_HANDLE  ,
PLSA_ENUMERATION_HANDLE  ,
PVOID ,
ULONG  ,
PULONG   
)

◆ LsaFreeMemory()

NTSTATUS NTAPI LsaFreeMemory ( PVOID  )

◆ LsaFreeReturnBuffer()

◆ LsaGetLogonSessionData()

NTSTATUS NTAPI LsaGetLogonSessionData ( PLUID  LogonId,
PSECURITY_LOGON_SESSION_DATA ppLogonSessionData 
)

Definition at line 253 of file lsalpc.c.

256{
257 LSA_API_MSG ApiMessage;
260
261 TRACE("LsaGetLogonSessionData(%p %p)\n", LogonId, ppLogonSessionData);
262
264 if (!NT_SUCCESS(Status))
265 return Status;
266
268 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.GetLogonSessionData);
269 ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
270 ApiMessage.h.u2.ZeroInit = 0;
271
272 RtlCopyLuid(&ApiMessage.GetLogonSessionData.Request.LogonId,
273 LogonId);
274
276 (PPORT_MESSAGE)&ApiMessage,
277 (PPORT_MESSAGE)&ApiMessage);
278 if (!NT_SUCCESS(Status))
279 {
280 ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
281 return Status;
282 }
283
284 if (!NT_SUCCESS(ApiMessage.Status))
285 {
286 ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
287 return ApiMessage.Status;
288 }
289
290 SessionData = ApiMessage.GetLogonSessionData.Reply.SessionDataBuffer;
291
292 TRACE("UserName: %p\n", SessionData->UserName.Buffer);
293 if (SessionData->UserName.Buffer != NULL)
294 SessionData->UserName.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->UserName.Buffer);
295
296 TRACE("LogonDomain: %p\n", SessionData->LogonDomain.Buffer);
297 if (SessionData->LogonDomain.Buffer != NULL)
298 SessionData->LogonDomain.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->LogonDomain.Buffer);
299
300 TRACE("AuthenticationPackage: %p\n", SessionData->AuthenticationPackage.Buffer);
301 if (SessionData->AuthenticationPackage.Buffer != NULL)
302 SessionData->AuthenticationPackage.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->AuthenticationPackage.Buffer);
303
304 TRACE("Sid: %p\n", SessionData->Sid);
305 if (SessionData->Sid != NULL)
306 SessionData->Sid = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->Sid);
307
308 TRACE("LogonServer: %p\n", SessionData->LogonServer.Buffer);
309 if (SessionData->LogonServer.Buffer != NULL)
310 SessionData->LogonServer.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->LogonServer.Buffer);
311
312 TRACE("DnsDomainName: %p\n", SessionData->DnsDomainName.Buffer);
313 if (SessionData->DnsDomainName.Buffer != NULL)
314 SessionData->DnsDomainName.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->DnsDomainName.Buffer);
315
316 TRACE("Upn: %p\n", SessionData->Upn.Buffer);
317 if (SessionData->Upn.Buffer != NULL)
318 SessionData->Upn.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->Upn.Buffer);
319
320 *ppLogonSessionData = SessionData;
321
322 return Status;
323}
#define NULL
Definition: types.h:112
#define ULONG_PTR
Definition: config.h:101
NTSYSAPI void WINAPI RtlCopyLuid(PLUID, const LUID *)
@ LSASS_REQUEST_GET_LOGON_SESSION_DATA
Definition: lsass.h:25
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID _Out_ PULONG _Inout_ PLUID LogonId
LSA_GET_LOGON_SESSION_DATA_MSG GetLogonSessionData
Definition: lsass.h:192
struct _LSA_GET_LOGON_SESSION_DATA_MSG::@3510::@3512 Request
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
uint32_t ULONG_PTR
Definition: typedefs.h:65
WCHAR * LPWSTR
Definition: xmlstorage.h:184

◆ LsaGetQuotasForAccount()

NTSTATUS NTAPI LsaGetQuotasForAccount ( LSA_HANDLE  ,
PQUOTA_LIMITS   
)

◆ LsaGetRemoteUserName()

NTSTATUS NTAPI LsaGetRemoteUserName ( PLSA_UNICODE_STRING  ,
PLSA_UNICODE_STRING ,
PLSA_UNICODE_STRING  
)

◆ LsaGetSystemAccessAccount()

NTSTATUS NTAPI LsaGetSystemAccessAccount ( LSA_HANDLE  ,
PULONG   
)

◆ LsaGetUserName()

NTSTATUS NTAPI LsaGetUserName ( PUNICODE_STRING ,
PUNICODE_STRING  
)

◆ LsaLogonUser()

NTSTATUS NTAPI LsaLogonUser ( HANDLE  ,
PLSA_STRING  ,
SECURITY_LOGON_TYPE  ,
ULONG  ,
PVOID  ,
ULONG  ,
PTOKEN_GROUPS  ,
PTOKEN_SOURCE  ,
PVOID ,
PULONG  ,
PLUID  ,
PHANDLE  ,
PQUOTA_LIMITS  ,
PNTSTATUS   
)

Referenced by LogonUserExW(), and MyLogonUser().

◆ LsaLookupAuthenticationPackage()

NTSTATUS NTAPI LsaLookupAuthenticationPackage ( HANDLE  ,
PLSA_STRING  ,
PULONG   
)

◆ LsaLookupNames()

◆ LsaLookupNames2()

◆ LsaLookupPrivilegeDisplayName()

NTSTATUS NTAPI LsaLookupPrivilegeDisplayName ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
PLSA_UNICODE_STRING ,
PUSHORT   
)

◆ LsaLookupPrivilegeName()

NTSTATUS NTAPI LsaLookupPrivilegeName ( LSA_HANDLE  ,
PLUID  ,
PLSA_UNICODE_STRING  
)

◆ LsaLookupPrivilegeValue()

NTSTATUS NTAPI LsaLookupPrivilegeValue ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
PLUID   
)

◆ LsaLookupSids()

NTSTATUS NTAPI LsaLookupSids ( LSA_HANDLE  ,
ULONG  ,
PSID ,
PLSA_REFERENCED_DOMAIN_LIST ,
PLSA_TRANSLATED_NAME  
)

◆ LsaNtStatusToWinError()

ULONG NTAPI LsaNtStatusToWinError ( NTSTATUS  )

◆ LsaOpenAccount()

NTSTATUS NTAPI LsaOpenAccount ( LSA_HANDLE  ,
PSID  ,
ACCESS_MASK  ,
PLSA_HANDLE   
)

◆ LsaOpenPolicy()

◆ LsaOpenPolicySce()

◆ LsaOpenSecret()

◆ LsaOpenTrustedDomain()

NTSTATUS NTAPI LsaOpenTrustedDomain ( LSA_HANDLE  ,
PSID  ,
ACCESS_MASK  ,
PLSA_HANDLE   
)

◆ LsaOpenTrustedDomainByName()

NTSTATUS NTAPI LsaOpenTrustedDomainByName ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
ACCESS_MASK  ,
PLSA_HANDLE   
)

◆ LsaQueryDomainInformationPolicy()

NTSTATUS NTAPI LsaQueryDomainInformationPolicy ( LSA_HANDLE  ,
POLICY_DOMAIN_INFORMATION_CLASS  ,
PVOID  
)

◆ LsaQueryInformationPolicy()

NTSTATUS NTAPI LsaQueryInformationPolicy ( LSA_HANDLE  ,
POLICY_INFORMATION_CLASS  ,
PVOID  
)

◆ LsaQuerySecret()

◆ LsaQuerySecurityObject()

NTSTATUS NTAPI LsaQuerySecurityObject ( LSA_HANDLE  ,
SECURITY_INFORMATION  ,
PSECURITY_DESCRIPTOR  
)

◆ LsaQueryTrustedDomainInfo()

NTSTATUS NTAPI LsaQueryTrustedDomainInfo ( LSA_HANDLE  ,
PSID  ,
TRUSTED_INFORMATION_CLASS  ,
PVOID  
)

◆ LsaQueryTrustedDomainInfoByName()

NTSTATUS NTAPI LsaQueryTrustedDomainInfoByName ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
TRUSTED_INFORMATION_CLASS  ,
PVOID  
)

◆ LsaRegisterLogonProcess()

NTSTATUS NTAPI LsaRegisterLogonProcess ( PLSA_STRING  ,
PHANDLE  ,
PLSA_OPERATIONAL_MODE   
)

◆ LsaRegisterPolicyChangeNotification()

NTSTATUS NTAPI LsaRegisterPolicyChangeNotification ( POLICY_NOTIFICATION_INFORMATION_CLASS  InformationClass,
HANDLE  NotificationEventHandle 
)

Definition at line 331 of file lsalpc.c.

334{
335 LSA_API_MSG ApiMessage;
337
338 TRACE("LsaRegisterPolicyChangeNotification(%lu %p)\n",
339 InformationClass, NotificationEventHandle);
340
342 if (!NT_SUCCESS(Status))
343 return Status;
344
346 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.PolicyChangeNotify);
347 ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
348 ApiMessage.h.u2.ZeroInit = 0;
349
350 ApiMessage.PolicyChangeNotify.Request.InformationClass = InformationClass;
351 ApiMessage.PolicyChangeNotify.Request.NotificationEventHandle = NotificationEventHandle;
352 ApiMessage.PolicyChangeNotify.Request.Register = TRUE;
353
355 (PPORT_MESSAGE)&ApiMessage,
356 (PPORT_MESSAGE)&ApiMessage);
357 if (!NT_SUCCESS(Status))
358 {
359 ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
360 return Status;
361 }
362
363 if (!NT_SUCCESS(ApiMessage.Status))
364 {
365 ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
366 return ApiMessage.Status;
367 }
368
369 return Status;
370}
#define TRUE
Definition: types.h:120
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1713
@ LSASS_REQUEST_POLICY_CHANGE_NOTIFY
Definition: lsass.h:26
LSA_POLICY_CHANGE_NOTIFY_MSG PolicyChangeNotify
Definition: lsass.h:193
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3514::@3516 Request

Referenced by NetRegisterDomainNameChangeNotification().

◆ LsaRemoveAccountRights()

NTSTATUS NTAPI LsaRemoveAccountRights ( LSA_HANDLE  ,
PSID  ,
BOOLEAN  ,
PLSA_UNICODE_STRING  ,
ULONG   
)

◆ LsaRemovePrivilegesFromAccount()

NTSTATUS NTAPI LsaRemovePrivilegesFromAccount ( LSA_HANDLE  ,
BOOLEAN  ,
PPRIVILEGE_SET   
)

◆ LsaRetrievePrivateData()

NTSTATUS NTAPI LsaRetrievePrivateData ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
PLSA_UNICODE_STRING  
)

◆ LsaSetDomainInformationPolicy()

NTSTATUS NTAPI LsaSetDomainInformationPolicy ( LSA_HANDLE  ,
POLICY_DOMAIN_INFORMATION_CLASS  ,
PVOID   
)

◆ LsaSetInformationPolicy()

NTSTATUS NTAPI LsaSetInformationPolicy ( LSA_HANDLE  ,
POLICY_INFORMATION_CLASS  ,
PVOID   
)

◆ LsaSetInformationTrustedDomain()

NTSTATUS NTAPI LsaSetInformationTrustedDomain ( LSA_HANDLE  ,
TRUSTED_INFORMATION_CLASS  ,
PVOID   
)

◆ LsaSetQuotasForAccount()

NTSTATUS NTAPI LsaSetQuotasForAccount ( LSA_HANDLE  ,
PQUOTA_LIMITS   
)

◆ LsaSetSecret()

◆ LsaSetSecurityObject()

NTSTATUS NTAPI LsaSetSecurityObject ( LSA_HANDLE  ,
SECURITY_INFORMATION  ,
PSECURITY_DESCRIPTOR   
)

◆ LsaSetSystemAccessAccount()

NTSTATUS NTAPI LsaSetSystemAccessAccount ( LSA_HANDLE  ,
ULONG   
)

◆ LsaSetTrustedDomainInfoByName()

NTSTATUS NTAPI LsaSetTrustedDomainInfoByName ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
TRUSTED_INFORMATION_CLASS  ,
PVOID   
)

◆ LsaSetTrustedDomainInformation()

NTSTATUS NTAPI LsaSetTrustedDomainInformation ( LSA_HANDLE  ,
PSID  ,
TRUSTED_INFORMATION_CLASS  ,
PVOID   
)

◆ LsaStorePrivateData()

NTSTATUS NTAPI LsaStorePrivateData ( LSA_HANDLE  ,
PLSA_UNICODE_STRING  ,
PLSA_UNICODE_STRING   
)

◆ LsaUnregisterPolicyChangeNotification()

NTSTATUS NTAPI LsaUnregisterPolicyChangeNotification ( POLICY_NOTIFICATION_INFORMATION_CLASS  InformationClass,
HANDLE  NotificationEventHandle 
)

Definition at line 378 of file lsalpc.c.

381{
382 LSA_API_MSG ApiMessage;
384
385 TRACE("LsaUnregisterPolicyChangeNotification(%lu %p)\n",
386 InformationClass, NotificationEventHandle);
387
389 if (!NT_SUCCESS(Status))
390 return Status;
391
393 ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.PolicyChangeNotify);
394 ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
395 ApiMessage.h.u2.ZeroInit = 0;
396
397 ApiMessage.PolicyChangeNotify.Request.InformationClass = InformationClass;
398 ApiMessage.PolicyChangeNotify.Request.NotificationEventHandle = NotificationEventHandle;
399 ApiMessage.PolicyChangeNotify.Request.Register = FALSE;
400
402 (PPORT_MESSAGE)&ApiMessage,
403 (PPORT_MESSAGE)&ApiMessage);
404 if (!NT_SUCCESS(Status))
405 {
406 ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
407 return Status;
408 }
409
410 if (!NT_SUCCESS(ApiMessage.Status))
411 {
412 ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
413 return ApiMessage.Status;
414 }
415
416 return Status;
417}
#define FALSE
Definition: types.h:117

Referenced by NetUnregisterDomainNameChangeNotification().

◆ RtlDecryptMemory()

NTSTATUS WINAPI RtlDecryptMemory ( PVOID  Memory,
ULONG  MemorySize,
ULONG  OptionFlags 
)

◆ RtlEncryptMemory()

NTSTATUS WINAPI RtlEncryptMemory ( PVOID  Memory,
ULONG  MemorySize,
ULONG  OptionFlags 
)

◆ RtlGenRandom()

BOOLEAN WINAPI RtlGenRandom ( PVOID  ,
ULONG   
)