[ros-diffs] [navaraf] 15943: - Declare POLICY_NOTIFICATION_INFORMATION_CLASS and SECURITY_LOGON_SESSION_DATA.

navaraf at svn.reactos.com navaraf at svn.reactos.com
Fri Jun 17 09:12:23 CEST 2005


- Declare POLICY_NOTIFICATION_INFORMATION_CLASS and
SECURITY_LOGON_SESSION_DATA.
- Fix declaration of CRITICAL_SECTION and RTL_CRITICAL_SECTION.
Modified: trunk/reactos/w32api/include/ntsecapi.h
Modified: trunk/reactos/w32api/include/winbase.h
Modified: trunk/reactos/w32api/include/winnt.h
  _____  

Modified: trunk/reactos/w32api/include/ntsecapi.h
--- trunk/reactos/w32api/include/ntsecapi.h	2005-06-17 00:13:44 UTC
(rev 15942)
+++ trunk/reactos/w32api/include/ntsecapi.h	2005-06-17 07:12:16 UTC
(rev 15943)
@@ -229,6 +229,15 @@

   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 @@
   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,
  _____  

Modified: trunk/reactos/w32api/include/winbase.h
--- trunk/reactos/w32api/include/winbase.h	2005-06-17 00:13:44 UTC
(rev 15942)
+++ trunk/reactos/w32api/include/winbase.h	2005-06-17 07:12:16 UTC
(rev 15943)
@@ -766,7 +766,7 @@

 	LONG RecursionCount;
 	HANDLE OwningThread;
 	HANDLE LockSemaphore;
-	DWORD SpinCount;
+	ULONG_PTR SpinCount;
 } CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION;
 typedef struct _SYSTEMTIME {
 	WORD wYear;
  _____  

Modified: trunk/reactos/w32api/include/winnt.h
--- trunk/reactos/w32api/include/winnt.h	2005-06-17 00:13:44 UTC
(rev 15942)
+++ trunk/reactos/w32api/include/winnt.h	2005-06-17 07:12:16 UTC
(rev 15943)
@@ -2287,7 +2287,7 @@

 	LONG RecursionCount;
 	HANDLE OwningThread;
 	HANDLE LockSemaphore;
-	DWORD Reserved;
+	ULONG_PTR SpinCount;
 } RTL_CRITICAL_SECTION,*PRTL_CRITICAL_SECTION;
 typedef struct _EVENTLOGRECORD {
 	DWORD Length;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050617/57395f6e/attachment.html


More information about the Ros-diffs mailing list