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

Last change on this file since 3485 was 3059, checked in by sandervl, 25 years ago

Dll dependency changes

File size: 1.2 KB
Line 
1/* $Id: windlllx.h,v 1.1 2000-03-09 19:03:21 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);
22virtual ~Win32LxDll();
23
24#ifdef DEBUG
25virtual ULONG AddRef(char *parentname = NULL);
26#else
27virtual ULONG AddRef();
28#endif
29virtual ULONG Release();
30
31 // Loaded by DosLoadModule (only relevant for LX dlls)
32virtual void setLoadLibrary() { fLoadLibrary = TRUE; };
33
34 // isLoaded returns TRUE when a dll has been loaded with DosLoadModule
35virtual BOOL isLoaded() { return fLoadLibrary; };
36
37 //Should only be called to make sure DosLoadModule is called at least
38 //once for a dll (to make sure OS/2 doesn't unload the dll when it's
39 //still needed)
40virtual void loadLibrary();
41
42virtual BOOL isLxDll();
43
44protected:
45
46private:
47};
48
49#endif //__WINDLLLX_H__
Note: See TracBrowser for help on using the repository browser.