ReactOS  0.4.13-dev-79-gcd489d8
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_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 351 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 531 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 696 of file ntsecapi.h.

◆ RTL_ENCRYPT_OPTION_CROSS_PROCESS

#define RTL_ENCRYPT_OPTION_CROSS_PROCESS   0x01

Definition at line 698 of file ntsecapi.h.

◆ RTL_ENCRYPT_OPTION_SAME_LOGON

#define RTL_ENCRYPT_OPTION_SAME_LOGON   0x02

Definition at line 699 of file ntsecapi.h.

◆ RTL_ENCRYPT_OPTION_SAME_PROCESS

#define RTL_ENCRYPT_OPTION_SAME_PROCESS   0x00

Definition at line 697 of file ntsecapi.h.

◆ RtlDecryptMemory

#define RtlDecryptMemory   SystemFunction041

Definition at line 690 of file ntsecapi.h.

◆ RtlEncryptMemory

#define RtlEncryptMemory   SystemFunction040

Definition at line 689 of file ntsecapi.h.

◆ RtlGenRandom

#define RtlGenRandom   SystemFunction036

Definition at line 688 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 360 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 643 of file ntsecapi.h.

◆ LSA_OBJECT_ATTRIBUTES

◆ LSA_OPERATIONAL_MODE

Definition at line 364 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 360 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 643 of file ntsecapi.h.

◆ PLSA_OBJECT_ATTRIBUTES

◆ PLSA_OPERATIONAL_MODE

Definition at line 364 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 544 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 544 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 799 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 800 of file ntsecapi.h.

◆ PSAM_PASSWORD_NOTIFICATION_ROUTINE

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

Definition at line 797 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 KERB_LOGON_SUBMIT_TYPE
enum _KERB_LOGON_SUBMIT_TYPE * PKERB_LOGON_SUBMIT_TYPE

◆ _LSA_FOREST_TRUST_COLLISION_RECORD_TYPE

Enumerator
CollisionTdo 
CollisionXref 
CollisionOther 
CollisionTdo 
CollisionXref 
CollisionOther 

Definition at line 345 of file ntsecapi.h.

345  {
346  CollisionTdo,
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 339 of file ntsecapi.h.

◆ _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 MSV1_0_LOGON_SUBMIT_TYPE
enum _MSV1_0_LOGON_SUBMIT_TYPE * PMSV1_0_LOGON_SUBMIT_TYPE

◆ _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
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_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.

◆ _POLICY_AUDIT_EVENT_TYPE

Enumerator
AuditCategorySystem 
AuditCategoryLogon 
AuditCategoryObjectAccess 
AuditCategoryPrivilegeUse 
AuditCategoryDetailedTracking 
AuditCategoryPolicyChange 
AuditCategoryAccountManagement 
AuditCategoryDirectoryServiceAccess 
AuditCategoryAccountLogon 

Definition at line 256 of file ntsecapi.h.

◆ _POLICY_DOMAIN_INFORMATION_CLASS

Enumerator
PolicyDomainIPSecReferenceInformation 
PolicyDomainQualityOfServiceInformation 
PolicyDomainEfsInformation 
PolicyDomainPublicKeyInformation 
PolicyDomainPasswordPolicyInformation 
PolicyDomainLockoutInformation 
PolicyDomainKerberosTicketInformation 
PolicyDomainQualityOfServiceInformation 
PolicyDomainEfsInformation 
PolicyDomainKerberosTicketInformation 

Definition at line 267 of file ntsecapi.h.

◆ _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 239 of file ntsecapi.h.

239  {
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 231 of file ntsecapi.h.

231  {
enum _POLICY_LSA_SERVER_ROLE * PPOLICY_LSA_SERVER_ROLE
enum _POLICY_LSA_SERVER_ROLE POLICY_LSA_SERVER_ROLE

◆ _POLICY_NOTIFICATION_INFORMATION_CLASS

Enumerator
PolicyNotifyAuditEventsInformation 
PolicyNotifyAccountDomainInformation 
PolicyNotifyServerRoleInformation 
PolicyNotifyDnsDomainInformation 
PolicyNotifyDomainEfsInformation 
PolicyNotifyDomainKerberosTicketInformation 
PolicyNotifyMachineAccountPasswordInformation 

Definition at line 276 of file ntsecapi.h.

◆ _POLICY_SERVER_ENABLE_STATE

Enumerator
PolicyServerEnabled 
PolicyServerDisabled 

Definition at line 235 of file ntsecapi.h.

235  {
enum _POLICY_SERVER_ENABLE_STATE POLICY_SERVER_ENABLE_STATE
enum _POLICY_SERVER_ENABLE_STATE * PPOLICY_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 285 of file ntsecapi.h.

285  {
286  Interactive = 2,
287  Network,
288  Batch,
289  Service,
290  Proxy,
291  Unlock
enum _SECURITY_LOGON_TYPE * PSECURITY_LOGON_TYPE
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 327 of file ntsecapi.h.

◆ MSV1_0_AVID

Enumerator
MsvAvEOL 
MsvAvNbComputerName 
MsvAvNbDomainName 
MsvAvDnsComputerName 
MsvAvDnsDomainName 

Definition at line 210 of file ntsecapi.h.

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()

NTSTATUS NTAPI LsaDeregisterLogonProcess ( HANDLE  )

◆ 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  ,
PLUID  
)

Definition at line 206 of file lsalpc.c.

209 {
210  LSA_API_MSG ApiMessage;
212 
213  TRACE("LsaEnumerateLogonSessions(%p %p)\n", LogonSessionCount, LogonSessionList);
214 
216  if (!NT_SUCCESS(Status))
217  return Status;
218 
220  ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.EnumLogonSessions);
221  ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
222  ApiMessage.h.u2.ZeroInit = 0;
223 
225  (PPORT_MESSAGE)&ApiMessage,
226  (PPORT_MESSAGE)&ApiMessage);
227  if (!NT_SUCCESS(Status))
228  {
229  ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
230  return Status;
231  }
232 
233  if (!NT_SUCCESS(ApiMessage.Status))
234  {
235  ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
236  return ApiMessage.Status;
237  }
238 
239  *LogonSessionCount = ApiMessage.EnumLogonSessions.Reply.LogonSessionCount;
240  *LogonSessionList = ApiMessage.EnumLogonSessions.Reply.LogonSessionBuffer;
241 
242  return Status;
243 }
NTSTATUS LsapOpenLsaPort(VOID)
Definition: lsalpc.c:52
NTSTATUS NTAPI NtRequestWaitReplyPort(IN HANDLE PortHandle, IN PPORT_MESSAGE LpcRequest, IN OUT PPORT_MESSAGE LpcReply)
Definition: send.c:695
LONG NTSTATUS
Definition: precomp.h:26
PORT_MESSAGE h
Definition: lsass.h:176
HANDLE LsaPortHandle
Definition: lsalpc.c:26
#define TRACE(s)
Definition: solgame.cpp:4
#define LSA_PORT_MESSAGE_SIZE
Definition: lsass.h:199
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
LSA_API_NUMBER ApiNumber
Definition: lsass.h:182
Status
Definition: gdiplustypes.h:24
#define ERR(fmt,...)
Definition: debug.h:109
LSA_ENUM_LOGON_SESSIONS_MSG EnumLogonSessions
Definition: lsass.h:190
#define LSA_PORT_DATA_SIZE(c)
Definition: lsass.h:198

◆ 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()

NTSTATUS NTAPI LsaFreeReturnBuffer ( PVOID  )

◆ LsaGetLogonSessionData()

NTSTATUS NTAPI LsaGetLogonSessionData ( PLUID  ,
PSECURITY_LOGON_SESSION_DATA  
)

Definition at line 251 of file lsalpc.c.

254 {
255  LSA_API_MSG ApiMessage;
256  PSECURITY_LOGON_SESSION_DATA SessionData;
258 
259  TRACE("LsaGetLogonSessionData(%p %p)\n", LogonId, ppLogonSessionData);
260 
262  if (!NT_SUCCESS(Status))
263  return Status;
264 
266  ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.GetLogonSessionData);
267  ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
268  ApiMessage.h.u2.ZeroInit = 0;
269 
270  RtlCopyLuid(&ApiMessage.GetLogonSessionData.Request.LogonId,
271  LogonId);
272 
274  (PPORT_MESSAGE)&ApiMessage,
275  (PPORT_MESSAGE)&ApiMessage);
276  if (!NT_SUCCESS(Status))
277  {
278  ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
279  return Status;
280  }
281 
282  if (!NT_SUCCESS(ApiMessage.Status))
283  {
284  ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
285  return ApiMessage.Status;
286  }
287 
288  SessionData = ApiMessage.GetLogonSessionData.Reply.SessionDataBuffer;
289 
290  TRACE("UserName: %p\n", SessionData->UserName.Buffer);
291  if (SessionData->UserName.Buffer != NULL)
292  SessionData->UserName.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->UserName.Buffer);
293 
294  TRACE("LogonDomain: %p\n", SessionData->LogonDomain.Buffer);
295  if (SessionData->LogonDomain.Buffer != NULL)
296  SessionData->LogonDomain.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->LogonDomain.Buffer);
297 
298  TRACE("AuthenticationPackage: %p\n", SessionData->AuthenticationPackage.Buffer);
299  if (SessionData->AuthenticationPackage.Buffer != NULL)
300  SessionData->AuthenticationPackage.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->AuthenticationPackage.Buffer);
301 
302  TRACE("Sid: %p\n", SessionData->Sid);
303  if (SessionData->Sid != NULL)
304  SessionData->Sid = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->Sid);
305 
306  TRACE("LogonServer: %p\n", SessionData->LogonServer.Buffer);
307  if (SessionData->LogonServer.Buffer != NULL)
308  SessionData->LogonServer.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->LogonServer.Buffer);
309 
310  TRACE("DnsDomainName: %p\n", SessionData->DnsDomainName.Buffer);
311  if (SessionData->DnsDomainName.Buffer != NULL)
312  SessionData->DnsDomainName.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->DnsDomainName.Buffer);
313 
314  TRACE("Upn: %p\n", SessionData->Upn.Buffer);
315  if (SessionData->Upn.Buffer != NULL)
316  SessionData->Upn.Buffer = (LPWSTR)((ULONG_PTR)SessionData + (ULONG_PTR)SessionData->Upn.Buffer);
317 
318  *ppLogonSessionData = SessionData;
319 
320  return Status;
321 }
LSA_GET_LOGON_SESSION_DATA_MSG GetLogonSessionData
Definition: lsass.h:191
NTSTATUS LsapOpenLsaPort(VOID)
Definition: lsalpc.c:52
NTSTATUS NTAPI NtRequestWaitReplyPort(IN HANDLE PortHandle, IN PPORT_MESSAGE LpcRequest, IN OUT PPORT_MESSAGE LpcReply)
Definition: send.c:695
LONG NTSTATUS
Definition: precomp.h:26
PORT_MESSAGE h
Definition: lsass.h:176
NTSYSAPI void WINAPI RtlCopyLuid(PLUID, const LUID *)
struct _LSA_GET_LOGON_SESSION_DATA_MSG::@3342::@3344 Request
uint32_t ULONG_PTR
Definition: typedefs.h:63
HANDLE LsaPortHandle
Definition: lsalpc.c:26
smooth NULL
Definition: ftsmooth.c:416
#define TRACE(s)
Definition: solgame.cpp:4
#define LSA_PORT_MESSAGE_SIZE
Definition: lsass.h:199
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
LSA_API_NUMBER ApiNumber
Definition: lsass.h:182
LSA_UNICODE_STRING LogonDomain
Definition: ntsecapi.h:304
LSA_UNICODE_STRING DnsDomainName
Definition: ntsecapi.h:311
Status
Definition: gdiplustypes.h:24
#define ERR(fmt,...)
Definition: debug.h:109
LSA_UNICODE_STRING LogonServer
Definition: ntsecapi.h:310
_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
#define ULONG_PTR
Definition: config.h:101
WCHAR * LPWSTR
Definition: xmlstorage.h:184
LSA_UNICODE_STRING AuthenticationPackage
Definition: ntsecapi.h:305
LSA_UNICODE_STRING Upn
Definition: ntsecapi.h:312
LSA_UNICODE_STRING UserName
Definition: ntsecapi.h:303
#define LSA_PORT_DATA_SIZE(c)
Definition: lsass.h:198

◆ 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().

◆ 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   
)

Referenced by OpenLogonLsaHandle(), and WinMain().

◆ LsaRegisterPolicyChangeNotification()

NTSTATUS NTAPI LsaRegisterPolicyChangeNotification ( POLICY_NOTIFICATION_INFORMATION_CLASS  ,
HANDLE   
)

Definition at line 329 of file lsalpc.c.

332 {
333  LSA_API_MSG ApiMessage;
335 
336  TRACE("LsaRegisterPolicyChangeNotification(%lu %p)\n",
337  InformationClass, NotificationEventHandle);
338 
340  if (!NT_SUCCESS(Status))
341  return Status;
342 
344  ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.PolicyChangeNotify);
345  ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
346  ApiMessage.h.u2.ZeroInit = 0;
347 
348  ApiMessage.PolicyChangeNotify.Request.InformationClass = InformationClass;
349  ApiMessage.PolicyChangeNotify.Request.NotificationEventHandle = NotificationEventHandle;
350  ApiMessage.PolicyChangeNotify.Request.Register = TRUE;
351 
353  (PPORT_MESSAGE)&ApiMessage,
354  (PPORT_MESSAGE)&ApiMessage);
355  if (!NT_SUCCESS(Status))
356  {
357  ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
358  return Status;
359  }
360 
361  if (!NT_SUCCESS(ApiMessage.Status))
362  {
363  ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
364  return ApiMessage.Status;
365  }
366 
367  return Status;
368 }
#define TRUE
Definition: types.h:120
NTSTATUS LsapOpenLsaPort(VOID)
Definition: lsalpc.c:52
NTSTATUS NTAPI NtRequestWaitReplyPort(IN HANDLE PortHandle, IN PPORT_MESSAGE LpcRequest, IN OUT PPORT_MESSAGE LpcReply)
Definition: send.c:695
LSA_POLICY_CHANGE_NOTIFY_MSG PolicyChangeNotify
Definition: lsass.h:192
LONG NTSTATUS
Definition: precomp.h:26
PORT_MESSAGE h
Definition: lsass.h:176
HANDLE LsaPortHandle
Definition: lsalpc.c:26
#define TRACE(s)
Definition: solgame.cpp:4
#define LSA_PORT_MESSAGE_SIZE
Definition: lsass.h:199
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
LSA_API_NUMBER ApiNumber
Definition: lsass.h:182
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3346::@3348 Request
Status
Definition: gdiplustypes.h:24
#define ERR(fmt,...)
Definition: debug.h:109
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1714
#define LSA_PORT_DATA_SIZE(c)
Definition: lsass.h:198

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  ,
HANDLE   
)

Definition at line 376 of file lsalpc.c.

379 {
380  LSA_API_MSG ApiMessage;
382 
383  TRACE("LsaUnregisterPolicyChangeNotification(%lu %p)\n",
384  InformationClass, NotificationEventHandle);
385 
387  if (!NT_SUCCESS(Status))
388  return Status;
389 
391  ApiMessage.h.u1.s1.DataLength = LSA_PORT_DATA_SIZE(ApiMessage.PolicyChangeNotify);
392  ApiMessage.h.u1.s1.TotalLength = LSA_PORT_MESSAGE_SIZE;
393  ApiMessage.h.u2.ZeroInit = 0;
394 
395  ApiMessage.PolicyChangeNotify.Request.InformationClass = InformationClass;
396  ApiMessage.PolicyChangeNotify.Request.NotificationEventHandle = NotificationEventHandle;
397  ApiMessage.PolicyChangeNotify.Request.Register = FALSE;
398 
400  (PPORT_MESSAGE)&ApiMessage,
401  (PPORT_MESSAGE)&ApiMessage);
402  if (!NT_SUCCESS(Status))
403  {
404  ERR("NtRequestWaitReplyPort() failed (Status 0x%08lx)\n", Status);
405  return Status;
406  }
407 
408  if (!NT_SUCCESS(ApiMessage.Status))
409  {
410  ERR("NtRequestWaitReplyPort() failed (ApiMessage.Status 0x%08lx)\n", ApiMessage.Status);
411  return ApiMessage.Status;
412  }
413 
414  return Status;
415 }
NTSTATUS LsapOpenLsaPort(VOID)
Definition: lsalpc.c:52
NTSTATUS NTAPI NtRequestWaitReplyPort(IN HANDLE PortHandle, IN PPORT_MESSAGE LpcRequest, IN OUT PPORT_MESSAGE LpcReply)
Definition: send.c:695
LSA_POLICY_CHANGE_NOTIFY_MSG PolicyChangeNotify
Definition: lsass.h:192
LONG NTSTATUS
Definition: precomp.h:26
PORT_MESSAGE h
Definition: lsass.h:176
HANDLE LsaPortHandle
Definition: lsalpc.c:26
#define TRACE(s)
Definition: solgame.cpp:4
#define LSA_PORT_MESSAGE_SIZE
Definition: lsass.h:199
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
LSA_API_NUMBER ApiNumber
Definition: lsass.h:182
struct _LSA_POLICY_CHANGE_NOTIFY_MSG::@3346::@3348 Request
Status
Definition: gdiplustypes.h:24
#define ERR(fmt,...)
Definition: debug.h:109
_In_ FILTER_INFORMATION_CLASS InformationClass
Definition: fltkernel.h:1714
#define LSA_PORT_DATA_SIZE(c)
Definition: lsass.h:198

Referenced by NetUnregisterDomainNameChangeNotification().

◆ RtlDecryptMemory()

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

Referenced by START_TEST().

◆ RtlEncryptMemory()

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

Referenced by START_TEST().

◆ RtlGenRandom()