Changeset 5288 for trunk/include/odinlx.h
- Timestamp:
- Mar 6, 2001, 10:44:40 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/odinlx.h
r4930 r5288 1 /* $Id: odinlx.h,v 1. 6 2001-01-11 18:03:48 sandervlExp $ */1 /* $Id: odinlx.h,v 1.7 2001-03-06 21:44:39 mike Exp $ */ 2 2 3 3 /* … … 17 17 #include <versionos2.h> 18 18 19 extern "C" { 20 19 21 typedef ULONG (* WIN32API WIN32DLLENTRY)(ULONG hInstance, ULONG reason, LPVOID reserved); 20 22 typedef int (* WIN32API WINMAIN)(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nShowCmd); … … 24 26 //System dlls set EntryPoint to 0 25 27 //Parameters: 26 // HINSTANCE hInstance 28 // HINSTANCE hInstance - OS/2 module handle 27 29 // WIN32DLLENTRY EntryPoint - Win32 dll entrypoint address 28 30 // PVOID pResData - pointer to win32 resource data … … 34 36 //Returns: Odin32 module handle 35 37 //****************************************************************************** 36 DWORD WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, 37 PVOID pResData, 38 DWORD MajorImageVersion = ODINNT_MAJOR_VERSION, 38 DWORD WIN32API RegisterLxDll(HINSTANCE hInstance, WIN32DLLENTRY EntryPoint, 39 PVOID pResData, 40 DWORD MajorImageVersion = ODINNT_MAJOR_VERSION, 39 41 DWORD MinorImageVersion = ODINNT_MINOR_VERSION, 40 42 DWORD Subsystem = IMAGE_SUBSYSTEM_WINDOWS_CUI); … … 50 52 //****************************************************************************** 51 53 BOOL WIN32API RegisterLxExe(WINMAIN EntryPoint, PVOID pResData); 52 54 } 53 55 #endif
Note:
See TracChangeset
for help on using the changeset viewer.