source: trunk/src/kernel32/windlllx.h@ 4311

Last change on this file since 4311 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
18class Win32LxDll : public Win32LxImage, public Win32DllBase
19{
20public:
21 Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY DllEntryPoint, PVOID pResData,
22 DWORD MajorImageVersion, DWORD MinorImageVersion,
23 DWORD Subsystem);
24virtual ~Win32LxDll();
25
26#ifdef DEBUG
27virtual ULONG AddRef(char *parentname = NULL);
28#else
29virtual ULONG AddRef();
30#endif
31virtual ULONG Release();
32
33 void setDllHandleOS2(HINSTANCE hInstanceOS2);
34
35virtual BOOL isLxDll();
36
37static Win32LxDll *findModuleByOS2Handle(HINSTANCE hinstance);
38
39protected:
40
41private:
42};
43
44#endif //__WINDLLLX_H__
Note: See TracBrowser for help on using the repository browser.