Quellcode durchsuchen

* better compatible systeminfo (Jedi JCL had a problem with it)

git-svn-id: trunk@7808 -
marco vor 18 Jahren
Ursprung
Commit
f6e2f0b2f0
1 geänderte Dateien mit 13 neuen und 15 gelöschten Zeilen
  1. 13 15
      rtl/win/wininc/struct.inc

+ 13 - 15
rtl/win/wininc/struct.inc

@@ -5992,23 +5992,21 @@
      PSYSTEMAUDITACE = ^SYSTEM_AUDIT_ACE;
      PSYSTEMAUDITACE = ^SYSTEM_AUDIT_ACE;
 
 
      SYSTEM_INFO = record
      SYSTEM_INFO = record
-          u : record
               case longint of
               case longint of
-                 0 : ( dwOemId : DWORD );
-                 1 : ( s : record
+                 0 : ( dwOemId : DWORD;
+		       dwPageSize : DWORD;
+          	       lpMinimumApplicationAddress : LPVOID;
+          	       lpMaximumApplicationAddress : LPVOID;
+          	       dwActiveProcessorMask : DWORD;
+          	       dwNumberOfProcessors : DWORD;
+                       dwProcessorType : DWORD;
+                       dwAllocationGranularity : DWORD;
+                       wProcessorLevel : WORD;
+                       wProcessorRevision : WORD;	
+			 );
+                 1 : ( 
                       wProcessorArchitecture : WORD;
                       wProcessorArchitecture : WORD;
-                      wReserved : WORD;
-                   end );
-              end;
-          dwPageSize : DWORD;
-          lpMinimumApplicationAddress : LPVOID;
-          lpMaximumApplicationAddress : LPVOID;
-          dwActiveProcessorMask : DWORD;
-          dwNumberOfProcessors : DWORD;
-          dwProcessorType : DWORD;
-          dwAllocationGranularity : DWORD;
-          wProcessorLevel : WORD;
-          wProcessorRevision : WORD;
+                    );
        end;
        end;
      LPSYSTEM_INFO = ^SYSTEM_INFO;
      LPSYSTEM_INFO = ^SYSTEM_INFO;
      _SYSTEM_INFO = SYSTEM_INFO;
      _SYSTEM_INFO = SYSTEM_INFO;