source: trunk/src/kernel32/windlllx.h

Last change on this file was 21916, checked in by dmik, 14 years ago

Merge branch gcc-kmk to trunk.

File size: 1.2 KB
RevLine 
[10397]1/* $Id: windlllx.h,v 1.9 2004-01-15 10:39:07 sandervl Exp $ */
[3059]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
[21916]15#include "windllbase.h"
16#include "winimagelx.h"
[3059]17
[8462]18#define HACK_NEVER_UNLOAD_LX_DLLS
19
[3059]20class Win32LxDll : public Win32LxImage, public Win32DllBase
21{
22public:
[6015]23 Win32LxDll(HINSTANCE hInstance, WIN32DLLENTRY DllEntryPoint, PVOID pResData,
[3993]24 DWORD MajorImageVersion, DWORD MinorImageVersion,
25 DWORD Subsystem);
[3059]26virtual ~Win32LxDll();
27
28#ifdef DEBUG
[6015]29virtual ULONG AddRef(char *parentname = NULL);
[3059]30#else
31virtual ULONG AddRef();
32#endif
[6015]33virtual ULONG Release();
[3059]34
[3993]35 void setDllHandleOS2(HINSTANCE hInstanceOS2);
[3059]36
[6015]37virtual BOOL isPe2LxDll() const;
38virtual BOOL isLxDll() const;
[3059]39
[3993]40static Win32LxDll *findModuleByOS2Handle(HINSTANCE hinstance);
[6015]41
[3059]42protected:
[5075]43 DWORD MajorImageVersion;
44 DWORD MinorImageVersion;
45 DWORD Subsystem;
[3059]46private:
47};
48
[10397]49extern char *lpszCustomDllName;
50extern PIMAGE_FILE_HEADER lpCustomDllPEHdr;
[6412]51
[3059]52#endif //__WINDLLLX_H__
Note: See TracBrowser for help on using the repository browser.