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

Last change on this file since 7890 was 6471, checked in by sandervl, 24 years ago

SetCustomBuildName change for different ordinal base of custom build subdlls

File size: 1.2 KB
Line 
1/* $Id: windlllx.h,v 1.6 2001-08-06 19:36:42 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 isPe2LxDll() const;
36virtual BOOL isLxDll() const;
37
38static Win32LxDll *findModuleByOS2Handle(HINSTANCE hinstance);
39
40protected:
41 DWORD MajorImageVersion;
42 DWORD MinorImageVersion;
43 DWORD Subsystem;
44private:
45};
46
47extern char *lpszCustomDllName;
48extern DWORD dwOrdinalBase;
49
50#endif //__WINDLLLX_H__
Note: See TracBrowser for help on using the repository browser.