source: trunk/src/kernel32/winimagelx.h@ 22013

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

Merge branch gcc-kmk to trunk.

File size: 1.1 KB
Line 
1/* $Id: winimagelx.h,v 1.8 2004-01-15 10:39:12 sandervl Exp $ */
2
3/*
4 * Win32 LX Image base class
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 __WINIMAGELX_H__
13#define __WINIMAGELX_H__
14
15#include "winimagebase.h"
16
17class Win32LxImage : public virtual Win32ImageBase
18{
19public:
20 Win32LxImage(HINSTANCE hInstance, PVOID pResData);
21virtual ~Win32LxImage();
22
23virtual ULONG getApi(char *name);
24virtual ULONG getApi(int ordinal);
25
26virtual ULONG setApi(char *name, ULONG pfnNewProc);
27virtual ULONG setApi(int ordinal, ULONG pfnNewProc);
28
29 LPVOID buildHeader(DWORD MajorImageVersion, DWORD MinorImageVersion,
30 DWORD Subsystem);
31 /** Get the OS/2 module handle.
32 * @returns OS/2 module handle. */
33 HINSTANCE getHMOD() const { return hinstanceOS2; }
34
35protected:
36 LPVOID header;
37 HINSTANCE hinstanceOS2;
38
39 //custom build PE header
40 LPVOID pCustomPEHeader;
41
42private:
43};
44
45extern BYTE dosHeader[16*15];
46
47#endif //__WINIMAGELX_H__
48
Note: See TracBrowser for help on using the repository browser.