CVS: winex/include winnt.h,1.38,1.39

[email protected] 12 Sep 2007 12:46:50 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/include winnt.h,1.38,1.39Update of /var/lib/cvsd/cvsroot/winex/include
In directory agravaine:/tmp/cvs-serv14073/include

Modified Files:
	winnt.h 
Log Message:
Implement SystemProcessInformation class.
TRAC #1971
Partially implement the SystemProcessInformation class for NtQuerySystemInformation, at least sufficiently for the dbghelp minidump requirements. Quite a few of the returned structure members are not filled in currently and are just zeroed.


Index: winnt.h
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/include/winnt.h,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- winnt.h	12 Sep 2007 12:38:03 -0000	1.38
+++ winnt.h	12 Sep 2007 12:46:48 -0000	1.39
@@ -4347,6 +4347,19 @@
     ULONG_PTR SpinCount;
 }  RTL_CRITICAL_SECTION, *PRTL_CRITICAL_SECTION;
 
+
+#include <pshpack8.h>
+typedef struct _IO_COUNTERS {
+    ULONGLONG WINE_ALIGN(8) ReadOperationCount;
+    ULONGLONG WINE_ALIGN(8) WriteOperationCount;
+    ULONGLONG WINE_ALIGN(8) OtherOperationCount;
+    ULONGLONG WINE_ALIGN(8) ReadTransferCount;
+    ULONGLONG WINE_ALIGN(8) WriteTransferCount;
+    ULONGLONG WINE_ALIGN(8) OtherTransferCount;
+} IO_COUNTERS, *PIO_COUNTERS;
+#include <poppack.h>
+
+
 #ifndef _SLIST_HEADER_
 #define _SLIST_HEADER_
 
@@ -4380,17 +4393,4 @@
 
 WORD WINAPI RtlQueryDepthSList( PSLIST_HEADER ListHead );
 
-
-
-typedef struct _IO_COUNTERS {
-    ULONGLONG  ReadOperationCount;
-    ULONGLONG  WriteOperationCount;
-    ULONGLONG  OtherOperationCount;
-    ULONGLONG ReadTransferCount;
-    ULONGLONG WriteTransferCount;
-    ULONGLONG OtherTransferCount;
-} IO_COUNTERS;
-typedef IO_COUNTERS *PIO_COUNTERS;
-
-
 #endif  /* __WINE_WINNT_H */