| Line |   | 
|---|
| 1 | /* $Id: winexepeldr.h,v 1.2 1999-10-14 09:58:10 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 | typedef BOOL (* WIN32API WIN32CTOR)(char *, ULONG);
 | 
|---|
| 19 | 
 | 
|---|
| 20 | //Class for executables run by the ring 3 PE loader
 | 
|---|
| 21 | class Win32PeLdrExe : public Win32PeLdrImage, public Win32ExeBase
 | 
|---|
| 22 | {
 | 
|---|
| 23 | public:
 | 
|---|
| 24 |         Win32PeLdrExe(char *szFileName);
 | 
|---|
| 25 | virtual ~Win32PeLdrExe();
 | 
|---|
| 26 | 
 | 
|---|
| 27 | virtual BOOL init(ULONG reservedMem);
 | 
|---|
| 28 | 
 | 
|---|
| 29 | protected:
 | 
|---|
| 30 | private:
 | 
|---|
| 31 | };
 | 
|---|
| 32 | 
 | 
|---|
| 33 | extern char szErrorTitle[];
 | 
|---|
| 34 | extern char szMemErrorMsg[];
 | 
|---|
| 35 | extern char szFileErrorMsg[];
 | 
|---|
| 36 | extern char szPEErrorMsg[];
 | 
|---|
| 37 | extern char szCPUErrorMsg[];
 | 
|---|
| 38 | extern char szExeErrorMsg[];
 | 
|---|
| 39 | extern char szInteralErrorMsg[];
 | 
|---|
| 40 | 
 | 
|---|
| 41 | #endif //__WINEXEPELDR_H__
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.