From 59801357f945682077b4adb17f19985e59f536d6 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Fri, 17 Jun 2005 07:12:16 +0000 Subject: [PATCH] - Declare POLICY_NOTIFICATION_INFORMATION_CLASS and SECURITY_LOGON_SESSION_DATA. - Fix declaration of CRITICAL_SECTION and RTL_CRITICAL_SECTION. svn path=/trunk/; revision=15943 --- reactos/w32api/include/ntsecapi.h | 23 +++++++++++++++++++++++ reactos/w32api/include/winbase.h | 2 +- reactos/w32api/include/winnt.h | 2 +- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/reactos/w32api/include/ntsecapi.h b/reactos/w32api/include/ntsecapi.h index 7a412bffd97..f1c527d8af3 100644 --- a/reactos/w32api/include/ntsecapi.h +++ b/reactos/w32api/include/ntsecapi.h @@ -229,6 +229,15 @@ typedef enum _POLICY_DOMAIN_INFORMATION_CLASS { PolicyDomainLockoutInformation, PolicyDomainKerberosTicketInformation } POLICY_DOMAIN_INFORMATION_CLASS, *PPOLICY_DOMAIN_INFORMATION_CLASS; +typedef enum _POLICY_NOTIFICATION_INFORMATION_CLASS { + PolicyNotifyAuditEventsInformation = 1, + PolicyNotifyAccountDomainInformation, + PolicyNotifyServerRoleInformation, + PolicyNotifyDnsDomainInformation, + PolicyNotifyDomainEfsInformation, + PolicyNotifyDomainKerberosTicketInformation, + PolicyNotifyMachineAccountPasswordInformation +} POLICY_NOTIFICATION_INFORMATION_CLASS, *PPOLICY_NOTIFICATION_INFORMATION_CLASS; typedef enum _SECURITY_LOGON_TYPE { Interactive = 2, Network, @@ -237,6 +246,20 @@ typedef enum _SECURITY_LOGON_TYPE { Proxy, Unlock } SECURITY_LOGON_TYPE, *PSECURITY_LOGON_TYPE; +typedef struct _SECURITY_LOGON_SESSION_DATA { + ULONG Size; + LUID LogonId; + LSA_UNICODE_STRING UserName; + LSA_UNICODE_STRING LogonDomain; + LSA_UNICODE_STRING AuthenticationPackage; + ULONG LogonType; + ULONG Session; + PSID Sid; + LARGE_INTEGER LogonTime; + LSA_UNICODE_STRING LogonServer; + LSA_UNICODE_STRING DnsDomainName; + LSA_UNICODE_STRING Upn; +} SECURITY_LOGON_SESSION_DATA, *PSECURITY_LOGON_SESSION_DATA; typedef enum _TRUSTED_INFORMATION_CLASS { TrustedDomainNameInformation = 1, TrustedControllersInformation, diff --git a/reactos/w32api/include/winbase.h b/reactos/w32api/include/winbase.h index 0ffe27de823..cf77fc42bb5 100644 --- a/reactos/w32api/include/winbase.h +++ b/reactos/w32api/include/winbase.h @@ -766,7 +766,7 @@ typedef struct _CRITICAL_SECTION { LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; - DWORD SpinCount; + ULONG_PTR SpinCount; } CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION; typedef struct _SYSTEMTIME { WORD wYear; diff --git a/reactos/w32api/include/winnt.h b/reactos/w32api/include/winnt.h index 388962636f2..a7542346582 100644 --- a/reactos/w32api/include/winnt.h +++ b/reactos/w32api/include/winnt.h @@ -2287,7 +2287,7 @@ typedef struct _RTL_CRITICAL_SECTION { LONG RecursionCount; HANDLE OwningThread; HANDLE LockSemaphore; - DWORD Reserved; + ULONG_PTR SpinCount; } RTL_CRITICAL_SECTION,*PRTL_CRITICAL_SECTION; typedef struct _EVENTLOGRECORD { DWORD Length;