source: trunk/src/kernel32/winexebase.h@ 10367

Last change on this file since 10367 was 9667, checked in by sandervl, 23 years ago

Don't allocate selectors anymore. Allocate tiled memory and call Dos32FlatToSel; Get default stack size from PE header; Thread handles not closed properly

File size: 768 bytes
Line 
1/* $Id: winexebase.h,v 1.4 2003-01-13 16:51:40 sandervl Exp $ */
2
3/*
4 * Win32 PE Exe base class
5 *
6 * Copyright 1998-1999 Sander van Leeuwen (sandervl@xs4all.nl)
7 *
8 *
9 * Project Odin Software License can be found in LICENSE.TXT
10 *
11 */
12#ifndef __WINEXEBASE_H__
13#define __WINEXEBASE_H__
14
15#include <winimagebase.h>
16
17typedef ULONG (* WIN32API WIN32EXEENTRY)(LPVOID);
18
19//Base executable class
20class Win32ExeBase : public virtual Win32ImageBase
21{
22public:
23 Win32ExeBase(HINSTANCE hInstance);
24virtual ~Win32ExeBase();
25
26 BOOL isConsoleApp() { return fConsoleApp; };
27
28virtual ULONG start();
29
30virtual BOOL isDll();
31
32virtual ULONG getDefaultStackSize();
33
34protected:
35 BOOL fConsoleApp;
36
37private:
38};
39
40extern Win32ExeBase *WinExe;
41
42#endif //__WINEXEBASE_H__
Note: See TracBrowser for help on using the repository browser.