source: trunk/src/kernel32/winexepeldr.h@ 9304

Last change on this file since 9304 was 8913, checked in by sandervl, 23 years ago

Enhanced PE loader class to support files with PE image starting at an offset ..= 0 (custom build) & Fixes for memory map view with offset

File size: 916 bytes
Line 
1/* $Id: winexepeldr.h,v 1.7 2002-07-23 13:51:48 sandervl Exp $ */
2
3/*
4 * Win32 PE loader Exe class
5 *
6 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __WINEXEPELDR_H__
13#define __WINEXEPELDR_H__
14
15#include <winexebase.h>
16#include <winimagepeldr.h>
17
18typedef BOOL (* WIN32API WIN32CTOR)(char *, char *, char *, ULONG, ULONG, BOOL, BOOL);
19
20//Class for executables run by the ring 3 PE loader
21class Win32PeLdrExe : public Win32PeLdrImage, public Win32ExeBase
22{
23public:
24 Win32PeLdrExe(char *szFileName, BOOL fConsoleApp);
25virtual ~Win32PeLdrExe();
26
27protected:
28private:
29};
30
31extern char szErrorTitle[];
32extern char szMemErrorMsg[];
33extern char szFileErrorMsg[];
34extern char szPEErrorMsg[];
35extern char szCPUErrorMsg[];
36extern char szExeErrorMsg[];
37extern char szInteralErrorMsg[];
38
39extern BOOL fPeLoader;
40
41#endif //__WINEXEPELDR_H__
Note: See TracBrowser for help on using the repository browser.