ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/Sojaner.MemoryScanner/PEReader.cs
(Generate patch)

Comparing trunk/Win32/Sojaner.MemoryScanner/PEReader.cs (file contents):
Revision 159 by william, Mon May 28 05:22:28 2012 UTC vs.
Revision 160 by william, Mon May 28 05:30:14 2012 UTC

--- 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 @@ namespace Sojaner.MemoryScanner
                 pinnedPacket.Free();
                 #endregion
 
+
+
                 br.Close();
             }
 
@@ -65,13 +67,13 @@ namespace Sojaner.MemoryScanner
         [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 @@ namespace Sojaner.MemoryScanner
         }
         #endregion
         #region DllCharacteristicsType
+        [Flags]
         public enum DllCharacteristicsType : ushort
         {
             RES_0 = 0x0001,