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

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

Added simple LX support.

File size: 806 bytes
Line 
1/* $Id: kFileLX.h,v 1.1 2000-03-27 10:18:41 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
25public:
26 kFileLX(const char *pszFilename);
27 ~kFileLX();
28
29 virtual BOOL queryModuleName(char *pszBuffer);
30 virtual BOOL findFirstExport(PEXPORTENTRY pExport);
31 virtual BOOL findNextExport(PEXPORTENTRY pExport);
32 virtual BOOL isLx() const {return TRUE;};
33
34 struct o32_obj * getObject(int iObject);
35
36
37};
38#endif
Note: See TracBrowser for help on using the repository browser.