| Line |  | 
|---|
| 1 | /* $Id: winimagelx.h,v 1.6 2002-02-03 13:16:23 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Win32 LX Image base 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 __WINIMAGELX_H__ | 
|---|
| 13 | #define __WINIMAGELX_H__ | 
|---|
| 14 |  | 
|---|
| 15 | #include <winimagebase.h> | 
|---|
| 16 |  | 
|---|
| 17 | class Win32LxImage : public virtual Win32ImageBase | 
|---|
| 18 | { | 
|---|
| 19 | public: | 
|---|
| 20 | Win32LxImage(HINSTANCE hInstance, PVOID pResData); | 
|---|
| 21 | virtual ~Win32LxImage(); | 
|---|
| 22 |  | 
|---|
| 23 | virtual ULONG     getApi(char *name); | 
|---|
| 24 | virtual ULONG     getApi(int ordinal); | 
|---|
| 25 |  | 
|---|
| 26 | LPVOID    buildHeader(DWORD MajorImageVersion, DWORD MinorImageVersion, | 
|---|
| 27 | DWORD Subsystem); | 
|---|
| 28 | /** Get the OS/2 module handle. | 
|---|
| 29 | * @returns OS/2 module handle. */ | 
|---|
| 30 | HINSTANCE   getHMOD() const { return hinstanceOS2; } | 
|---|
| 31 | protected: | 
|---|
| 32 | LPVOID header; | 
|---|
| 33 | HINSTANCE hinstanceOS2; | 
|---|
| 34 | DWORD  dwOrdinalBase; | 
|---|
| 35 | private: | 
|---|
| 36 | }; | 
|---|
| 37 |  | 
|---|
| 38 | extern BYTE dosHeader[16*15]; | 
|---|
| 39 |  | 
|---|
| 40 | #endif //__WINIMAGELX_H__ | 
|---|
| 41 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.