source: trunk/include/winexebase.h@ 1036

Last change on this file since 1036 was 953, checked in by sandervl, 26 years ago

New headers for kernel32 win32 image classes + removed old ones + nameid.h

File size: 863 bytes
RevLine 
[953]1/* $Id: winexebase.h,v 1.1 1999-09-15 23:29:37 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)();
18
19//Base executable class
20class Win32ExeBase : public virtual Win32ImageBase
21{
22public:
23 Win32ExeBase(HINSTANCE hInstance);
24virtual ~Win32ExeBase();
25
26 void setCommandLine(char *cline) { cmdline = cline; };
27 char *getCommandLine() { return cmdline; };
28
29 BOOL isConsoleApp() { return fConsoleApp; };
30
31virtual ULONG start();
32
33virtual BOOL isDll();
34
35protected:
36 char *cmdline;
37 BOOL fConsoleApp;
38
39private:
40};
41
42extern Win32ExeBase *WinExe;
43
44#endif //__WINEXEBASE_H__
Note: See TracBrowser for help on using the repository browser.