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

Last change on this file since 6003 was 5075, checked in by sandervl, 25 years ago

heap (shared+code) changes + lx dll unload workaround

File size: 1.1 KB
Line 
1/* $Id: windlllx.h,v 1.3 2001-02-09 18:31:05 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 DWORD MajorImageVersion;
41 DWORD MinorImageVersion;
42 DWORD Subsystem;
43private:
44};
45
46#endif //__WINDLLLX_H__
Note: See TracBrowser for help on using the repository browser.