Changeset 10397 for trunk/src/kernel32/winimagepe2lx.h
- Timestamp:
- Jan 15, 2004, 11:39:15 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepe2lx.h
r9537 r10397 1 /* $Id: winimagepe2lx.h,v 1. 9 2002-12-20 11:39:42sandervl Exp $ */1 /* $Id: winimagepe2lx.h,v 1.10 2004-01-15 10:39:13 sandervl Exp $ */ 2 2 3 3 /* … … 43 43 virtual DWORD init(); 44 44 45 /** @cat Exports */46 virtual ULONG getApi(char *name);47 virtual ULONG getApi(int ordinal);48 49 45 /** @cat Queries */ 50 46 /** Get the OS/2 module handle. … … 56 52 ULONG getSections(); 57 53 ULONG setSectionRVAs(); 54 ULONG doResources(); 55 ULONG doTLS(); 56 ULONG doImports(); 57 Win32ImageBase *importsGetModule(const char *pszModName); 58 Win32DllBase *importsLoadModule(const char *pszModName); 59 ULONG importsByOrdinal(Win32ImageBase *pModule, unsigned uOrdinal, void **ppvAddr); 60 ULONG importsByName(Win32ImageBase *pModule, const char *pszSymName, void **ppvAddr); 58 61 VOID cleanup(); 59 62 … … 61 64 /** @cat RVA -> pointer */ 62 65 /* these should be moved to winimagebase some day... */ 63 PVOID getPointerFromRVA(ULONG ulRVA); 66 void * getPointerFromRVA(ULONG ulRVA, BOOL fOverride = FALSE); 67 ULONG getRVAFromPointer(void *pv, BOOL fOverride = FALSE); 64 68 PVOID getPointerFromPointer(PVOID pv); 65 69 LONG getSectionIndexFromRVA(ULONG ulRVA); 66 70 BOOL validateRealPointer(PVOID pv); 67 71 68 PSECTION paSections; /* Used by getPointerFromRVA and created by getSections and 69 * setSectionRVAs. */ 70 WORD cSections; /* Count of entires in the section array (paSection) */ 72 /** Used by getPointerFromRVA and created by getSections and setSectionRVAs. */ 73 PSECTION paSections; 74 /** Count of entires in the section array (paSection) */ 75 int cSections; 71 76 72 77 /** @cat Misc */ 73 PIMAGE_NT_HEADERS pNtHdrs; /* Pointer to NT headers. */ 74 BOOL fWin32k; /* flag which indicates wether this is a Win32k loaded 75 * module (TRUE) or and Pe2Lx module (FALSE). */ 76 HMODULE hmod; /* OS/2 handle of the module. */ 77 BOOL fDll; /* Set by Win32Pe2LxDll. */ 78 /** Pointer to NT headers. */ 79 PIMAGE_NT_HEADERS pNtHdrs; 80 /** Flag which indicates wether this is a Win32k loaded 81 * module (TRUE) or and Pe2Lx module (FALSE). */ 82 BOOL fWin32k; 83 /** OS/2 handle of the module. */ 84 HMODULE hmod; 85 /** Set by Win32Pe2LxDll. */ 86 BOOL fDll; 78 87 }; 79 88
Note:
See TracChangeset
for help on using the changeset viewer.