source: trunk/include/odinlx.h@ 953

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

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

File size: 1.4 KB
RevLine 
[953]1/* $Id: odinlx.h,v 1.1 1999-09-15 23:29:51 sandervl Exp $ */
2
3/*
4 *
5 * Interface for running Win32 programs (compiled in OS/2)
6 *
7 * Copyright 1999 Sander van Leeuwen (sandervl@xs4all.nl)
8 *
9 *
10 * Project Odin Software License can be found in LICENSE.TXT
11 *
12 */
13#ifndef _ODINLX_H
14#define _ODINLX_H
15
16
17typedef ULONG (* WIN32API WIN32DLLENTRY)(ULONG hInstance, ULONG reason, LPVOID reserved);
18typedef int (* WIN32API WINMAIN)(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nShowCmd);
19
20//******************************************************************************
21//Create LX Dll object and send process attach message
22//System dlls set EntryPoint to 0
23//******************************************************************************
24BOOL WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, PVOID unused);
25
26//******************************************************************************
27//Destroy LX Dll object
28//******************************************************************************
29BOOL WIN32API UnregisterLxDll(HINSTANCE hInstance);
30
31//******************************************************************************
32//Create LX Exe object and call entrypoint
33//System dlls set EntryPoint to 0
34//******************************************************************************
35BOOL WIN32API RegisterLxExe(WINMAIN EntryPoint, PVOID unused);
36
37
38#endif
Note: See TracBrowser for help on using the repository browser.