source: trunk/include/odinlx.h@ 978

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

Changes for LX image resource support

File size: 1.5 KB
Line 
1/* $Id: odinlx.h,v 1.3 1999-09-18 17:45:22 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 pResData);
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 pResData);
36
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41void OS2SetExceptionHandler(void *exceptframe);
42void OS2UnsetExceptionHandler(void *exceptframe);
43
44#ifdef __cplusplus
45}
46#endif
47
48#endif
Note: See TracBrowser for help on using the repository browser.