Changeset 6015 for trunk/src/kernel32/winimagepe2lx.h
- Timestamp:
- Jun 15, 2001, 11:42:49 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepe2lx.h
r4368 r6015 1 /* $Id: winimagepe2lx.h,v 1. 6 2000-10-02 13:35:23bird Exp $ */1 /* $Id: winimagepe2lx.h,v 1.7 2001-06-15 09:42:49 bird Exp $ */ 2 2 3 3 /* … … 40 40 /** @cat constructor and destructor */ 41 41 Win32Pe2LxImage(HINSTANCE hinstance, BOOL fWin32k); 42 virtual ~Win32Pe2LxImage();43 virtual BOOL init();42 virtual ~Win32Pe2LxImage(); 43 virtual BOOL init(); 44 44 45 45 /** @cat Exports */ 46 virtual ULONG getApi(char *name); 47 virtual ULONG getApi(int ordinal); 46 virtual ULONG getApi(char *name); 47 virtual ULONG getApi(int ordinal); 48 49 /** @cat Queries */ 50 /** Get the OS/2 module handle. 51 * @returns OS/2 module handle. */ 52 HINSTANCE getHMOD() const { return hmod; } 48 53 49 54 private: 50 55 /** @cat constructor helpers */ 51 ULONG getSections();52 ULONG setSectionRVAs();53 VOID cleanup();56 ULONG getSections(); 57 ULONG setSectionRVAs(); 58 VOID cleanup(); 54 59 55 60 protected: 56 61 /** @cat RVA -> pointer */ 57 62 /* these should be moved to winimagebase some day... */ 58 PVOID getPointerFromRVA(ULONG ulRVA);59 PVOID getPointerFromPointer(PVOID pv);60 LONG getSectionIndexFromRVA(ULONG ulRVA);61 BOOL validateRealPointer(PVOID pv);63 PVOID getPointerFromRVA(ULONG ulRVA); 64 PVOID getPointerFromPointer(PVOID pv); 65 LONG getSectionIndexFromRVA(ULONG ulRVA); 66 BOOL validateRealPointer(PVOID pv); 62 67 63 68 PSECTION paSections; /* Used by getPointerFromRVA and created by getSections and … … 69 74 BOOL fWin32k; /* flag which indicates wether this is a Win32k loaded 70 75 * module (TRUE) or and Pe2Lx module (FALSE). */ 71 HMODULE hmod;/* OS/2 handle of the module. */76 HMODULE hmod; /* OS/2 handle of the module. */ 72 77 }; 73 78
Note:
See TracChangeset
for help on using the changeset viewer.