Last change
on this file since 10367 was 9667, checked in by sandervl, 23 years ago |
Don't allocate selectors anymore. Allocate tiled memory and call Dos32FlatToSel; Get default stack size from PE header; Thread handles not closed properly
|
File size:
866 bytes
|
Line | |
---|
1 | /* $Id: winexepeldr.h,v 1.9 2003-01-13 16:51:40 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 |
|
---|
18 | //Class for executables run by the ring 3 PE loader
|
---|
19 | class Win32PeLdrExe : public Win32PeLdrImage, public Win32ExeBase
|
---|
20 | {
|
---|
21 | public:
|
---|
22 | Win32PeLdrExe(char *szFileName, BOOL fConsoleApp);
|
---|
23 | virtual ~Win32PeLdrExe();
|
---|
24 |
|
---|
25 | virtual ULONG getDefaultStackSize();
|
---|
26 |
|
---|
27 | protected:
|
---|
28 | private:
|
---|
29 | };
|
---|
30 |
|
---|
31 | extern char szErrorTitle[];
|
---|
32 | extern char szMemErrorMsg[];
|
---|
33 | extern char szFileErrorMsg[];
|
---|
34 | extern char szPEErrorMsg[];
|
---|
35 | extern char szCPUErrorMsg[];
|
---|
36 | extern char szExeErrorMsg[];
|
---|
37 | extern char szInteralErrorMsg[];
|
---|
38 |
|
---|
39 | extern BOOL fPeLoader;
|
---|
40 |
|
---|
41 | #endif //__WINEXEPELDR_H__
|
---|
Note:
See
TracBrowser
for help on using the repository browser.