- Declare POLICY_NOTIFICATION_INFORMATION_CLASS and SECURITY_LOGON_SESSION_DATA.
authorFilip Navara <filip.navara@gmail.com>
Fri, 17 Jun 2005 07:12:16 +0000 (07:12 +0000)
committerFilip Navara <filip.navara@gmail.com>
Fri, 17 Jun 2005 07:12:16 +0000 (07:12 +0000)
- Fix declaration of CRITICAL_SECTION and RTL_CRITICAL_SECTION.

svn path=/trunk/; revision=15943

reactos/w32api/include/ntsecapi.h
reactos/w32api/include/winbase.h
reactos/w32api/include/winnt.h

index 7a412bf..f1c527d 100644 (file)
@@ -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,
index 0ffe27d..cf77fc4 100644 (file)
@@ -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;
index 3889626..a754234 100644 (file)
@@ -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;