source: trunk/tools/common/kFileLX.h@ 4129

Last change on this file since 4129 was 4129, checked in by bird, 25 years ago

Fixes and enhancements.

File size: 952 bytes
Line 
1/* $Id: kFileLX.h,v 1.2 2000-08-31 03:00:13 bird Exp $
2 *
3 * kFileLX - Linear Executable file reader.
4 *
5 * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
6 *
7 * Project Odin Software License can be found in LICENSE.TXT
8 *
9 */
10
11#ifndef _kFileLX_h_
12#define _kFileLX_h_
13
14
15
16
17class kFileLX : public kFileFormatBase
18{
19protected:
20 PVOID pvBase;
21 ULONG offLXHdr;
22 struct e32_exe * pe32;
23 struct o32_obj * paObject;
24
25 BOOL queryExportName(int iOrdinal, char *pszBuffer);
26
27public:
28 kFileLX(const char *pszFilename);
29 ~kFileLX();
30
31 virtual BOOL queryModuleName(char *pszBuffer);
32 virtual BOOL findFirstExport(PEXPORTENTRY pExport);
33 virtual BOOL findNextExport(PEXPORTENTRY pExport);
34 virtual BOOL isLx() const {return TRUE;};
35
36 struct o32_obj * getObject(int iObject);
37 int getObjectCount();
38
39
40};
41#endif
Note: See TracBrowser for help on using the repository browser.