Changeset 5531 for trunk/tools/common/kFileFormatBase.h
- Timestamp:
- Apr 17, 2001, 2:26:28 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/common/kFileFormatBase.h
r4358 r5531 1 /* $Id: kFileFormatBase.h,v 1. 4 2000-10-02 04:01:39bird Exp $1 /* $Id: kFileFormatBase.h,v 1.5 2001-04-17 00:26:11 bird Exp $ 2 2 * 3 3 * kFileFormatBase - Base class for kFile<format> classes. … … 15 15 * Defined Constants * 16 16 ******************************************************************************/ 17 #define MAXEXPORTNAME 25618 17 #define ORD_START_INTERNAL_FUNCTIONS 1200 19 18 … … 26 25 class kFile; 27 26 28 /**29 * ExportEntry used by the findFirstExport/findNextExport functions30 */31 typedef struct _ExportEntry32 {33 unsigned long ulOrdinal;34 char achName[MAXEXPORTNAME];35 char achIntName[MAXEXPORTNAME]; /* not used by PEFile */36 37 /* these don't apply for .DEF files. (should have a flag for that...) */38 unsigned long offset;39 unsigned long iObject;40 41 /* internal - do not use! */42 void *pv;43 } EXPORTENTRY, *PEXPORTENTRY;44 45 27 46 28 /** … … 51 33 { 52 34 public: 53 virtual BOOL queryModuleName(char *pszBuffer) = 0;54 virtual BOOL findFirstExport(PEXPORTENTRY pExport) = 0;55 virtual BOOL findNextExport(PEXPORTENTRY pExport) = 0;56 35 virtual BOOL isDef() const { return FALSE;} 57 36 virtual BOOL isPe() const { return FALSE;} 58 37 virtual BOOL isLx() const { return FALSE;} 59 60 static void * readfile(const char *pszFilename);61 38 virtual BOOL dump(kFile *pOut); 62 39 };
Note:
See TracChangeset
for help on using the changeset viewer.