8#define NT_SUCCESS(x) ((x)>=0)
9#define STATUS_SUCCESS 0
11#define CYPHER_BLOCK_LENGTH 8
12#define USER_SESSION_KEY_LENGTH (CYPHER_BLOCK_LENGTH*2)
13#define CLEAR_BLOCK_LENGTH 8
14#define MSV1_0_PASSTHRU 1
15#define MSV1_0_GUEST_LOGON 2
16#define MSV1_0_VALIDATION_LOGOFF_TIME 1
17#define MSV1_0_VALIDATION_KICKOFF_TIME 2
18#define MSV1_0_VALIDATION_LOGON_SERVER 4
19#define MSV1_0_VALIDATION_LOGON_DOMAIN 8
20#define MSV1_0_VALIDATION_SESSION_KEY 16
21#define MSV1_0_VALIDATION_USER_FLAGS 32
22#define MSV1_0_VALIDATION_USER_ID 64
23#define MSV1_0_SUBAUTH_ACCOUNT_DISABLED 1
24#define MSV1_0_SUBAUTH_PASSWORD 2
25#define MSV1_0_SUBAUTH_WORKSTATIONS 4
26#define MSV1_0_SUBAUTH_LOGON_HOURS 8
27#define MSV1_0_SUBAUTH_ACCOUNT_EXPIRY 16
28#define MSV1_0_SUBAUTH_PASSWORD_EXPIRY 32
29#define MSV1_0_SUBAUTH_ACCOUNT_TYPE 64
30#define MSV1_0_SUBAUTH_LOCKOUT 128
31#define NEXT_FREE_ACCOUNT_CONTROL_BIT 131072
32#define SAM_DAYS_PER_WEEK 7
33#define SAM_HOURS_PER_WEEK 168
34#define SAM_MINUTES_PER_WEEK 10080
35#define STATUS_INVALID_INFO_CLASS 0xC0000003L
36#define STATUS_NO_SUCH_USER 0xC0000064L
37#define STATUS_WRONG_PASSWORD 0xC000006AL
38#define STATUS_PASSWORD_RESTRICTION 0xC000006CL
39#define STATUS_LOGON_FAILURE 0xC000006DL
40#define STATUS_ACCOUNT_RESTRICTION 0xC000006EL
41#define STATUS_INVALID_LOGON_HOURS 0xC000006FL
42#define STATUS_INVALID_WORKSTATION 0xC0000070L
43#define STATUS_PASSWORD_EXPIRED 0xC0000071L
44#define STATUS_ACCOUNT_DISABLED 0xC0000072L
45#define STATUS_INSUFFICIENT_RESOURCES 0xC000009AL
46#define STATUS_ACCOUNT_EXPIRED 0xC0000193L
47#define STATUS_PASSWORD_MUST_CHANGE 0xC0000224L
48#define STATUS_ACCOUNT_LOCKED_OUT 0xC0000234L
49#define USER_ACCOUNT_DISABLED 1
50#define USER_HOME_DIRECTORY_REQUIRED 2
51#define USER_PASSWORD_NOT_REQUIRED 4
52#define USER_TEMP_DUPLICATE_ACCOUNT 8
53#define USER_NORMAL_ACCOUNT 16
54#define USER_MNS_LOGON_ACCOUNT 32
55#define USER_INTERDOMAIN_TRUST_ACCOUNT 64
56#define USER_WORKSTATION_TRUST_ACCOUNT 128
57#define USER_SERVER_TRUST_ACCOUNT 256
58#define USER_DONT_EXPIRE_PASSWORD 512
59#define USER_ACCOUNT_AUTO_LOCKED 1024
60#define USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED 2048
61#define USER_SMARTCARD_REQUIRED 4096
62#define USER_TRUSTED_FOR_DELEGATION 8192
63#define USER_NOT_DELEGATED 16384
64#define USER_USE_DES_KEY_ONLY 32768
65#define USER_DONT_REQUIRE_PREAUTH 65536
66#define USER_MACHINE_ACCOUNT_MASK 448
67#define USER_ACCOUNT_TYPE_MASK 472
68#define USER_ALL_PARAMETERS 2097152
69#if !defined(_NTDEF_H) && !defined(_NTSECAPI_H)
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
_In_ ULONG _In_ ULONG _In_ ULONG Length
LARGE_INTEGER KickoffTime
USER_SESSION_KEY SessionKey
UNICODE_STRING LogonServer
UNICODE_STRING LogonDomainName
UNICODE_STRING PackageName
NETLOGON_LOGON_IDENTITY_INFO Identity
NT_OWF_PASSWORD NtOwfPassword
NETLOGON_LOGON_IDENTITY_INFO Identity
LM_OWF_PASSWORD LmOwfPassword
OLD_LARGE_INTEGER LogonId
UNICODE_STRING LogonDomainName
UNICODE_STRING Workstation
STRING NtChallengeResponse
STRING LmChallengeResponse
NETLOGON_LOGON_IDENTITY_INFO Identity
NT_OWF_PASSWORD NtOwfPassword
NETLOGON_LOGON_IDENTITY_INFO Identity
LM_OWF_PASSWORD LmOwfPassword
PUCHAR SecurityDescriptor
CLEAR_BLOCK * PLM_CHALLENGE
struct _SR_SECURITY_DESCRIPTOR * PSR_SECURITY_DESCRIPTOR
struct _SR_SECURITY_DESCRIPTOR SR_SECURITY_DESCRIPTOR
struct _NETLOGON_LOGON_IDENTITY_INFO * PNETLOGON_LOGON_IDENTITY_INFO
struct _CLEAR_BLOCK CLEAR_BLOCK
#define CLEAR_BLOCK_LENGTH
struct _LOGON_HOURS LOGON_HOURS
NTSTATUS NTAPI Msv1_0SubAuthenticationRoutine(NETLOGON_LOGON_INFO_CLASS, PVOID, ULONG, PUSER_ALL_INFORMATION, PULONG, PULONG, PBOOLEAN, PLARGE_INTEGER, PLARGE_INTEGER)
struct _CLEAR_BLOCK * PCLEAR_BLOCK
struct _NETLOGON_NETWORK_INFO * PNETLOGON_NETWORK_INFO
struct _NETLOGON_SERVICE_INFO NETLOGON_SERVICE_INFO
struct _NETLOGON_SERVICE_INFO * PNETLOGON_SERVICE_INFO
LM_CHALLENGE * PNT_CHALLENGE
struct _USER_SESSION_KEY * PUSER_SESSION_KEY
struct _MSV1_0_VALIDATION_INFO MSV1_0_VALIDATION_INFO
struct _USER_ALL_INFORMATION USER_ALL_INFORMATION
LM_OWF_PASSWORD * PNT_OWF_PASSWORD
enum _NETLOGON_LOGON_INFO_CLASS NETLOGON_LOGON_INFO_CLASS
LM_OWF_PASSWORD NT_OWF_PASSWORD
NTSTATUS NTAPI Msv1_0SubAuthenticationRoutineGeneric(PVOID, ULONG, PULONG, PVOID *)
#define CYPHER_BLOCK_LENGTH
struct _CYPHER_BLOCK CYPHER_BLOCK
struct _MSV1_0_VALIDATION_INFO * PMSV1_0_VALIDATION_INFO
_NETLOGON_LOGON_INFO_CLASS
@ NetlogonGenericInformation
@ NetlogonNetworkTransitiveInformation
@ NetlogonInteractiveInformation
@ NetlogonInteractiveTransitiveInformation
@ NetlogonServiceTransitiveInformation
@ NetlogonNetworkInformation
@ NetlogonServiceInformation
struct _OLD_LARGE_INTEGER OLD_LARGE_INTEGER
struct _OLD_LARGE_INTEGER * POLD_LARGE_INTEGER
NTSTATUS NTAPI Msv1_0SubAuthenticationRoutineEx(NETLOGON_LOGON_INFO_CLASS, PVOID, ULONG, PUSER_ALL_INFORMATION, SAM_HANDLE, PMSV1_0_VALIDATION_INFO, PULONG)
struct _NETLOGON_GENERIC_INFO * PNETLOGON_GENERIC_INFO
struct _UNICODE_STRING * PUNICODE_STRING
struct _CYPHER_BLOCK * PCYPHER_BLOCK
struct _USER_SESSION_KEY USER_SESSION_KEY
struct _LM_OWF_PASSWORD LM_OWF_PASSWORD
struct _NETLOGON_NETWORK_INFO NETLOGON_NETWORK_INFO
LM_CHALLENGE NT_CHALLENGE
struct _LOGON_HOURS * PLOGON_HOURS
struct _UNICODE_STRING UNICODE_STRING
struct _NETLOGON_INTERACTIVE_INFO * PNETLOGON_INTERACTIVE_INFO
struct _NETLOGON_LOGON_IDENTITY_INFO NETLOGON_LOGON_IDENTITY_INFO
struct _LM_OWF_PASSWORD * PLM_OWF_PASSWORD
struct _NETLOGON_INTERACTIVE_INFO NETLOGON_INTERACTIVE_INFO
struct _NETLOGON_GENERIC_INFO NETLOGON_GENERIC_INFO
struct _USER_ALL_INFORMATION * PUSER_ALL_INFORMATION
NTSTATUS NTAPI Msv1_0SubAuthenticationFilter(NETLOGON_LOGON_INFO_CLASS, PVOID, ULONG, PUSER_ALL_INFORMATION, PULONG, PULONG, PBOOLEAN, PLARGE_INTEGER, PLARGE_INTEGER)
_In_ WDFDMATRANSACTION _In_ size_t MaximumLength