Changeset 10397 for trunk/src/kernel32/winimagepeldr.h
- Timestamp:
- Jan 15, 2004, 11:39:15 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winimagepeldr.h
r9997 r10397 1 /* $Id: winimagepeldr.h,v 1.2 0 2003-04-09 10:39:41sandervl Exp $ */1 /* $Id: winimagepeldr.h,v 1.21 2004-01-15 10:39:15 sandervl Exp $ */ 2 2 3 3 /* … … 85 85 virtual BOOL insideModuleCode(ULONG address); 86 86 87 virtual ULONG getApi(char *name);88 virtual ULONG getApi(int ordinal);89 virtual ULONG setApi(char *name, ULONG pfnNewProc);90 virtual ULONG setApi(int ordinal, ULONG pfnNewProc);91 92 87 virtual ULONG getImageSize(); 93 88 … … 114 109 Section *findPreviousSectionByOS2Addr(ULONG addr); 115 110 116 OrdExport *findApi(int ordinal);117 NameExport *findApi(char *name);118 119 111 BOOL setMemFlags(); 120 112 BOOL setFixups(PIMAGE_BASE_RELOCATION prel); … … 125 117 BOOL processImports(); 126 118 BOOL processExports(); 127 void AddNameExport(ULONG virtaddr, char *apiname, ULONG ordinal, BOOL fAbsoluteAddress=FALSE); 128 void AddOrdExport(ULONG virtaddr, ULONG ordinal, BOOL fAbsoluteAddress=FALSE); 129 BOOL AddForwarder(ULONG virtaddr, char *apiname, ULONG ordinal); 119 120 BOOL loadForwarder(ULONG virtaddr, char *apiname, ULONG ordinal); 130 121 131 122 Win32DllBase *loadDll(char *pszCurModule); 132 123 133 IMAGE_OPTIONAL_HEADER oh;134 IMAGE_FILE_HEADER fh;135 136 ULONG nrNameExports, nameExportSize;137 ULONG nrOrdExports;138 ULONG nrOrdExportsRegistered;139 NameExport *nameexports, *curnameexport;140 OrdExport *ordexports, *curordexport;141 142 124 ULONG nrsections, imageSize, imageVirtBase, imageVirtEnd; 143 125 //OS/2 virtual base address 144 ULONG realBaseAddress; 145 Section *section; 126 ULONG realBaseAddress, originalBaseAddress; 127 Section *section; 128 ULONG Characteristics; 146 129 147 130 //offset in executable image where real PE file starts (default 0)
Note:
See TracChangeset
for help on using the changeset viewer.