9#define FIXUP_POINTER(Pointer, Offset) ((Pointer != NULL) ? ((PWSTR)((ULONG_PTR)Pointer + Offset)) : NULL)
66#define USER_LOGON_BAD_PASSWORD 0x08000000
67#define USER_LOGON_SUCCESS 0x10000000
174 IN unsigned char LmPresent,
177 IN unsigned char NtPresent,
180 IN unsigned char NtCrossEncryptionPresent,
182 IN unsigned char LmCrossEncryptionPresent,
enum _LSA_TOKEN_INFORMATION_TYPE * PLSA_TOKEN_INFORMATION_TYPE
wchar_t * PSAMPR_SERVER_NAME
_In_ FILTER_INFORMATION_CLASS InformationClass
_Must_inspect_result_ _In_ PFSRTL_PER_STREAM_CONTEXT Ptr
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
VOID NTAPI ProtocolStatus(NDIS_HANDLE BindingContext, NDIS_STATUS GenerelStatus, PVOID StatusBuffer, UINT StatusBufferSize)
Called by NDIS when the underlying driver has changed state.
VOID NTAPI SamIFree_SAMPR_USER_INFO_BUFFER(PSAMPR_USER_INFO_BUFFER Ptr, USER_INFORMATION_CLASS InformationClass)
struct _SAMPR_ULONG_ARRAY * PSAMPR_ULONG_ARRAY
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_NT_OWF_PASSWORD
NTSTATUS WINAPI SystemFunction012(const BYTE *in, const BYTE *key, LPBYTE out)
struct _SAMPR_USER_ALL_INFORMATION SAMPR_USER_ALL_INFORMATION
struct _SAMPR_LOGON_HOURS SAMPR_LOGON_HOURS
NTSTATUS NTAPI SamIConnect(IN PSAMPR_SERVER_NAME ServerName, OUT SAMPR_HANDLE *ServerHandle, IN ACCESS_MASK DesiredAccess, IN BOOLEAN Trusted)
struct _ENCRYPTED_LM_OWF_PASSWORD * PENCRYPTED_LM_OWF_PASSWORD
NTSTATUS WINAPI LsarQueryInformationPolicy(IN LSAPR_HANDLE PolicyHandle, IN POLICY_INFORMATION_CLASS InformationClass, OUT PLSAPR_POLICY_INFORMATION *PolicyInformation)
NTSTATUS NTAPI SamrSetInformationUser(IN SAMPR_HANDLE UserHandle, IN USER_INFORMATION_CLASS UserInformationClass, IN PSAMPR_USER_INFO_BUFFER Buffer)
struct _LSAPR_POLICY_PD_ACCOUNT_INFO * PLSAPR_POLICY_PD_ACCOUNT_INFO
union _LSAPR_POLICY_INFORMATION * PLSAPR_POLICY_INFORMATION
VOID NTAPI LsaApLogonTerminated(_In_ PLUID LogonId)
union _SAMPR_USER_INFO_BUFFER * PSAMPR_USER_INFO_BUFFER
NTSTATUS NTAPI SamrChangePasswordUser(IN SAMPR_HANDLE UserHandle, IN unsigned char LmPresent, IN PENCRYPTED_LM_OWF_PASSWORD OldLmEncryptedWithNewLm, IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithOldLm, IN unsigned char NtPresent, IN PENCRYPTED_NT_OWF_PASSWORD OldNtEncryptedWithNewNt, IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithOldNt, IN unsigned char NtCrossEncryptionPresent, IN PENCRYPTED_NT_OWF_PASSWORD NewNtEncryptedWithNewLm, IN unsigned char LmCrossEncryptionPresent, IN PENCRYPTED_LM_OWF_PASSWORD NewLmEncryptedWithNewNt)
VOID NTAPI SamIFree_SAMPR_ULONG_ARRAY(PSAMPR_ULONG_ARRAY Ptr)
struct RPC_SHORT_BLOB RPC_SHORT_BLOB
NTSTATUS NTAPI LsaApLogonUserEx2(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ SECURITY_LOGON_TYPE LogonType, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferSize, _Out_ PVOID *ProfileBuffer, _Out_ PULONG ProfileBufferSize, _Out_ PLUID LogonId, _Out_ PNTSTATUS SubStatus, _Out_ PLSA_TOKEN_INFORMATION_TYPE TokenInformationType, _Out_ PVOID *TokenInformation, _Out_ PUNICODE_STRING *AccountName, _Out_ PUNICODE_STRING *AuthenticatingAuthority, _Out_ PUNICODE_STRING *MachineName, _Out_ PSECPKG_PRIMARY_CRED PrimaryCredentials, _Out_ PSECPKG_SUPPLEMENTAL_CRED_ARRAY *SupplementalCredentials)
NTSTATUS NTAPI LsaApCallPackageUntrusted(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferLength, _Out_ PVOID *ProtocolReturnBuffer, _Out_ PULONG ReturnBufferLength, _Out_ PNTSTATUS ProtocolStatus)
struct _RPC_SID * PRPC_SID
struct _RPC_UNICODE_STRING * PRPC_UNICODE_STRING
NTSTATUS NTAPI SamrLookupDomainInSamServer(IN SAMPR_HANDLE ServerHandle, IN PRPC_UNICODE_STRING Name, OUT PRPC_SID *DomainId)
struct _RPC_UNICODE_STRING RPC_UNICODE_STRING
struct _POLICY_LSA_REPLICA_SRCE_INFO * PPOLICY_LSA_REPLICA_SRCE_INFO
NTSTATUS NTAPI SamrOpenUser(IN SAMPR_HANDLE DomainHandle, IN ACCESS_MASK DesiredAccess, IN ULONG UserId, OUT SAMPR_HANDLE *UserHandle)
union _SAMPR_USER_INFO_BUFFER SAMPR_USER_INFO_BUFFER
union _LSAPR_POLICY_INFORMATION LSAPR_POLICY_INFORMATION
struct _SAMPR_SR_SECURITY_DESCRIPTOR SAMPR_SR_SECURITY_DESCRIPTOR
struct _LSAPR_POLICY_DNS_DOMAIN_INFO * PLSAPR_POLICY_DNS_DOMAIN_INFO
struct _LSAPR_POLICY_AUDIT_EVENTS_INFO LSAPR_POLICY_AUDIT_EVENTS_INFO
struct _SAMPR_USER_ALL_INFORMATION * PSAMPR_USER_ALL_INFORMATION
NTSTATUS NTAPI LsaApCallPackage(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferLength, _Out_ PVOID *ProtocolReturnBuffer, _Out_ PULONG ReturnBufferLength, _Out_ PNTSTATUS ProtocolStatus)
struct _LSAPR_POLICY_ACCOUNT_DOM_INFO * PLSAPR_POLICY_ACCOUNT_DOM_INFO
VOID NTAPI LsaIFree_LSAPR_POLICY_INFORMATION(IN POLICY_INFORMATION_CLASS InformationClass, IN PLSAPR_POLICY_INFORMATION PolicyInformation)
struct _LSAPR_POLICY_PRIMARY_DOM_INFO * PLSAPR_POLICY_PRIMARY_DOM_INFO
struct _SAMPR_SR_SECURITY_DESCRIPTOR * PSAMPR_SR_SECURITY_DESCRIPTOR
struct _SAMPR_LOGON_HOURS * PSAMPR_LOGON_HOURS
NTSTATUS WINAPI LsarClose(IN OUT LSAPR_HANDLE *ObjectHandle)
struct _LSAPR_POLICY_PRIMARY_DOM_INFO LSAPR_POLICY_PRIMARY_DOM_INFO
NTSTATUS WINAPI LsaIOpenPolicyTrusted(OUT LSAPR_HANDLE *PolicyHandle)
struct _OLD_LARGE_INTEGER OLD_LARGE_INTEGER
struct _OLD_LARGE_INTEGER * POLD_LARGE_INTEGER
NTSTATUS WINAPI SystemFunction006(LPCSTR password, LPSTR hash)
struct _SAMPR_USER_INTERNAL2_INFORMATION SAMPR_USER_INTERNAL2_INFORMATION
struct _LSAPR_POLICY_ACCOUNT_DOM_INFO LSAPR_POLICY_ACCOUNT_DOM_INFO
VOID NTAPI SamIFreeVoid(PVOID Ptr)
struct _POLICY_LSA_REPLICA_SRCE_INFO POLICY_LSA_REPLICA_SRCE_INFO
NTSTATUS WINAPI SystemFunction007(PUNICODE_STRING string, LPBYTE hash)
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_NT_OWF_PASSWORD
NTSTATUS NTAPI SamrLookupNamesInDomain(IN SAMPR_HANDLE DomainHandle, IN ULONG Count, IN RPC_UNICODE_STRING Names[], OUT PSAMPR_ULONG_ARRAY RelativeIds, OUT PSAMPR_ULONG_ARRAY Use)
NTSTATUS NTAPI SamrOpenDomain(IN SAMPR_HANDLE ServerHandle, IN ACCESS_MASK DesiredAccess, IN PRPC_SID DomainId, OUT SAMPR_HANDLE *DomainHandle)
struct _LSAPR_POLICY_AUDIT_EVENTS_INFO * PLSAPR_POLICY_AUDIT_EVENTS_INFO
wchar_t * PSAMPR_SERVER_NAME
NTSTATUS NTAPI LsaApCallPackagePassthrough(_In_ PLSA_CLIENT_REQUEST ClientRequest, _In_ PVOID ProtocolSubmitBuffer, _In_ PVOID ClientBufferBase, _In_ ULONG SubmitBufferLength, _Out_ PVOID *ProtocolReturnBuffer, _Out_ PULONG ReturnBufferLength, _Out_ PNTSTATUS ProtocolStatus)
NTSTATUS NTAPI SamrCloseHandle(IN OUT SAMPR_HANDLE *SamHandle)
struct _ENCRYPTED_LM_OWF_PASSWORD ENCRYPTED_LM_OWF_PASSWORD
NTSTATUS WINAPI LsarLookupPrivilegeValue(IN LSAPR_HANDLE PolicyHandle, IN PRPC_UNICODE_STRING Name, OUT PLUID Value)
struct RPC_SHORT_BLOB * PRPC_SHORT_BLOB
struct _LSAPR_POLICY_DNS_DOMAIN_INFO LSAPR_POLICY_DNS_DOMAIN_INFO
struct _SAMPR_USER_INTERNAL2_INFORMATION * PSAMPR_USER_INTERNAL2_INFORMATION
struct _LSAPR_POLICY_PD_ACCOUNT_INFO LSAPR_POLICY_PD_ACCOUNT_INFO
NTSTATUS NTAPI SamrQueryInformationUser(IN SAMPR_HANDLE UserHandle, IN USER_INFORMATION_CLASS UserInformationClass, OUT PSAMPR_USER_INFO_BUFFER *Buffer)
struct _SAMPR_ULONG_ARRAY SAMPR_ULONG_ARRAY
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE LogonType
_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 _Out_ PHANDLE _Out_ PQUOTA_LIMITS _Out_ PNTSTATUS SubStatus
_IRQL_requires_same_ _In_ PLSA_STRING _In_ SECURITY_LOGON_TYPE _In_ ULONG _In_ ULONG _In_opt_ PTOKEN_GROUPS _In_ PTOKEN_SOURCE _Out_ PVOID * ProfileBuffer
_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
enum _USER_INFORMATION_CLASS USER_INFORMATION_CLASS
enum _POLICY_INFORMATION_CLASS POLICY_INFORMATION_CLASS
enum _SECURITY_LOGON_TYPE SECURITY_LOGON_TYPE
_In_ DWORD _Out_ PDWORD _In_opt_ PCSTR MachineName
unsigned short MaximumLength
RPC_UNICODE_STRING DomainName
DWORD * EventAuditingOptions
DWORD MaximumAuditEventCount
RPC_UNICODE_STRING DnsDomainName
RPC_UNICODE_STRING DnsForestName
RPC_UNICODE_STRING ReplicaAccountName
RPC_UNICODE_STRING ReplicaSource
SID_IDENTIFIER_AUTHORITY IdentifierAuthority
unsigned short MaximumLength
unsigned char * LogonHours
unsigned short UnitsPerWeek
unsigned char * SecurityDescriptor
SAMPR_USER_LOGON_HOURS_INFORMATION LogonHours
SAMPR_USER_NAME_INFORMATION Name
SAMPR_USER_INTERNAL1_INFORMATION Internal1
SAMPR_USER_ACCOUNT_INFORMATION Account
SAMPR_USER_WORKSTATIONS_INFORMATION WorkStations
SAMPR_USER_SET_PASSWORD_INFORMATION SetPassword
USER_CONTROL_INFORMATION Control
SAMPR_USER_HOME_INFORMATION Home
SAMPR_USER_GENERAL_INFORMATION General
SAMPR_USER_PROFILE_INFORMATION Profile
USER_PRIMARY_GROUP_INFORMATION PrimaryGroup
SAMPR_USER_ADMIN_COMMENT_INFORMATION AdminComment
SAMPR_USER_INTERNAL5_INFORMATION Internal5
SAMPR_USER_LOGON_INFORMATION Logon
SAMPR_USER_ALL_INFORMATION All
USER_EXPIRES_INFORMATION Expires
SAMPR_USER_SCRIPT_INFORMATION Script
SAMPR_USER_INTERNAL4_INFORMATION Internal4
SAMPR_USER_PARAMETERS_INFORMATION Parameters
SAMPR_USER_PREFERENCES_INFORMATION Preferences
SAMPR_USER_INTERNAL2_INFORMATION Internal2
SAMPR_USER_A_NAME_INFORMATION AccountName
SAMPR_USER_F_NAME_INFORMATION FullName
SAMPR_USER_INTERNAL5_INFORMATION_NEW Internal5New
SAMPR_USER_INTERNAL4_INFORMATION_NEW Internal4New
_Must_inspect_result_ _In_ WDFDEVICE _In_ ULONG _In_ ACCESS_MASK DesiredAccess
_Must_inspect_result_ _In_ WDFKEY _In_ PCUNICODE_STRING _Out_opt_ PUSHORT _Inout_opt_ PUNICODE_STRING Value