Ignore:
Timestamp:
Nov 22, 1999, 9:35:52 PM (26 years ago)
Author:
sandervl
Message:

Rewrite of PE loader code, EB's fixes + VirtualProtect bugfix

File:
1 edited

Legend:

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

    r1687 r1811  
    1 /* $Id: mmap.h,v 1.11 1999-11-10 14:16:01 sandervl Exp $ */
     1/* $Id: mmap.h,v 1.12 1999-11-22 20:35:50 sandervl Exp $ */
    22
    33/*
     
    2828
    2929class Win32MemMapView;
     30class Win32PeLdrImage;
    3031
    3132//******************************************************************************
     
    3536public:
    3637   Win32MemMap(HFILE hfile, ULONG size, ULONG fdwProtect, LPSTR lpszName);
     38   //Use by PE loader image class only:
     39   Win32MemMap(Win32PeLdrImage *pImage, ULONG lpImageMem, ULONG size);
    3740  ~Win32MemMap();
    3841
     
    4750   LPVOID getMappingAddr()               { return pMapping; };
    4851   DWORD  getProcessId()                 { return mProcessId;};
     52Win32PeLdrImage *getImage()              { return image; };
     53
     54   BOOL   isImageMap()                   { return image != NULL; };
    4955
    5056   void   AddRef()                       { ++referenced; };
     
    9399
    94100   VMutex mapMutex;
     101
     102   Win32PeLdrImage *image;
    95103
    96104private:
Note: See TracChangeset for help on using the changeset viewer.