Beispiel #1
0
        public static IMAGE_RELOCATION LoadFrom(BinaryReader r)
        {
            IMAGE_RELOCATION h = new IMAGE_RELOCATION();

            h.VirtualAddress   = r.ReadUInt32();
            h.SymbolTableIndex = r.ReadUInt32();
            h.Type             = (RelType)r.ReadUInt16();
            return(h);
        }
Beispiel #2
0
 public static IMAGE_RELOCATION LoadFrom(BinaryReader r)
 {
     IMAGE_RELOCATION h = new IMAGE_RELOCATION();
     h.VirtualAddress = r.ReadUInt32();
     h.SymbolTableIndex = r.ReadUInt32();
     h.Type = (RelType)r.ReadUInt16();
     return h;
 }