| Last change
 on this file since 4540 was             3993, checked in by sandervl, 25 years ago | 
        
          | 
Updates for fake system dll headers
 | 
        
          | File size:
            977 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: windlllx.h,v 1.2 2000-08-11 10:56:19 sandervl Exp $ */ | 
|---|
| 2 |  | 
|---|
| 3 | /* | 
|---|
| 4 | * Win32 LX Dll 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 __WINDLLLX_H__ | 
|---|
| 13 | #define __WINDLLLX_H__ | 
|---|
| 14 |  | 
|---|
| 15 | #include <windllbase.h> | 
|---|
| 16 | #include <winimagelx.h> | 
|---|
| 17 |  | 
|---|
| 18 | class Win32LxDll : public Win32LxImage, public Win32DllBase | 
|---|
| 19 | { | 
|---|
| 20 | public: | 
|---|
| 21 | Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY DllEntryPoint, PVOID pResData, | 
|---|
| 22 | DWORD MajorImageVersion, DWORD MinorImageVersion, | 
|---|
| 23 | DWORD Subsystem); | 
|---|
| 24 | virtual ~Win32LxDll(); | 
|---|
| 25 |  | 
|---|
| 26 | #ifdef DEBUG | 
|---|
| 27 | virtual ULONG     AddRef(char *parentname = NULL); | 
|---|
| 28 | #else | 
|---|
| 29 | virtual ULONG     AddRef(); | 
|---|
| 30 | #endif | 
|---|
| 31 | virtual ULONG     Release(); | 
|---|
| 32 |  | 
|---|
| 33 | void      setDllHandleOS2(HINSTANCE hInstanceOS2); | 
|---|
| 34 |  | 
|---|
| 35 | virtual BOOL      isLxDll(); | 
|---|
| 36 |  | 
|---|
| 37 | static  Win32LxDll *findModuleByOS2Handle(HINSTANCE hinstance); | 
|---|
| 38 |  | 
|---|
| 39 | protected: | 
|---|
| 40 |  | 
|---|
| 41 | private: | 
|---|
| 42 | }; | 
|---|
| 43 |  | 
|---|
| 44 | #endif //__WINDLLLX_H__ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.