Ignore:
Timestamp:
Jul 23, 2002, 3:51:49 PM (23 years ago)
Author:
sandervl
Message:

Enhanced PE loader class to support files with PE image starting at an offset ..= 0 (custom build) & Fixes for memory map view with offset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/mmap.h

    r8900 r8913  
    1 /* $Id: mmap.h,v 1.23 2002-07-21 09:20:56 sandervl Exp $ */
     1/* $Id: mmap.h,v 1.24 2002-07-23 13:51:48 sandervl Exp $ */
    22
    33/*
     
    122122   DWORD  getAccessFlags()               { return mfAccess; };
    123123   DWORD  getSize()                      { return mSize;    };
    124    LPVOID getViewAddr()                  { return pMapView; };
    125124   ULONG  getOffset()                    { return mOffset;  };
     125   LPVOID getViewAddr()                  { return (LPVOID)((char *)pMapView + getOffset()); };
    126126
    127127   BOOL   everythingOk()                 { return errorState == 0; };
Note: See TracChangeset for help on using the changeset viewer.