/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/PEReader.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/PEReader.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/05/28 05:22:28	159
+++ trunk/Win32/Sojaner.MemoryScanner/PEReader.cs	2012/05/28 05:30:14	160
@@ -45,6 +45,8 @@
                 pinnedPacket.Free();
                 #endregion
 
+
+
                 br.Close();
             }
 
@@ -65,13 +67,13 @@
         [StructLayout(LayoutKind.Sequential)]
         public struct IMAGE_FILE_HEADER
         {
-            public UInt16 Machine;
+            public MachineType Machine;
             public UInt16 NumberOfSections;
             public UInt32 TimeDateStamp;
             public UInt32 PointerToSymbolTable;
             public UInt32 NumberOfSymbols;
             public UInt16 SizeOfOptionalHeader;
-            public UInt16 Characteristics;
+            public DllCharacteristicsType Characteristics;
         }
         #endregion
         #region IMAGE_DOS_HEADER
@@ -169,6 +171,7 @@
         }
         #endregion
         #region DllCharacteristicsType
+        [Flags]
         public enum DllCharacteristicsType : ushort
         {
             RES_0 = 0x0001,

 

  ViewVC Help
Powered by ViewVC 1.1.22