| Line |  | 
|---|
| 1 | /* $Id: winexedummy.h,v 1.1 2002-02-03 13:16:22 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Win32 LX Exe class (compiled in OS/2 using Odin32 api) | 
|---|
| 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 __WINEXEDUMMY_H__ | 
|---|
| 13 | #define __WINEXEDUMMY_H__ | 
|---|
| 14 |  | 
|---|
| 15 | #include <winexebase.h> | 
|---|
| 16 | #include <winimagelx.h> | 
|---|
| 17 | #include <odinlx.h> | 
|---|
| 18 |  | 
|---|
| 19 | //Class for dummy Odin executables | 
|---|
| 20 | class Win32DummyExe : public Win32ExeBase | 
|---|
| 21 | { | 
|---|
| 22 | public: | 
|---|
| 23 | Win32DummyExe(LPSTR pszExeName); | 
|---|
| 24 | virtual ~Win32DummyExe(); | 
|---|
| 25 |  | 
|---|
| 26 | virtual ULONG start(); | 
|---|
| 27 |  | 
|---|
| 28 | virtual ULONG getApi(char *name); | 
|---|
| 29 | virtual ULONG getApi(int ordinal); | 
|---|
| 30 |  | 
|---|
| 31 | protected: | 
|---|
| 32 | LPVOID buildHeader(DWORD MajorImageVersion, DWORD MinorImageVersion, | 
|---|
| 33 | DWORD Subsystem); | 
|---|
| 34 |  | 
|---|
| 35 | private: | 
|---|
| 36 | LPVOID header; | 
|---|
| 37 | }; | 
|---|
| 38 |  | 
|---|
| 39 | #endif //__WINEXEDUMMY_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.