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

Last change on this file since 7029 was 4502, checked in by sandervl, 25 years ago

basic support for VIO console command line apps added + FormatMessage addition

File size: 948 bytes
Line 
1/* $Id: winexepeldr.h,v 1.5 2000-10-20 11:46: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, 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
27virtual BOOL init(ULONG reservedMem);
28
29protected:
30private:
31};
32
33extern char szErrorTitle[];
34extern char szMemErrorMsg[];
35extern char szFileErrorMsg[];
36extern char szPEErrorMsg[];
37extern char szCPUErrorMsg[];
38extern char szExeErrorMsg[];
39extern char szInteralErrorMsg[];
40
41extern BOOL fPeLoader;
42
43#endif //__WINEXEPELDR_H__
Note: See TracBrowser for help on using the repository browser.