mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 00:32:57 +00:00
-Nearly compiles doscalls
-Added an mixing header to have ntddk and os2 included without conflicts svn path=/trunk/; revision=3304
This commit is contained in:
parent
554d0a03f4
commit
d35d4191c1
9 changed files with 182 additions and 237 deletions
33
os2/lib/doscalls/misc/doscalls.cpp
Normal file
33
os2/lib/doscalls/misc/doscalls.cpp
Normal file
|
@ -0,0 +1,33 @@
|
|||
/* $Id: doscalls.cpp,v 1.1 2002/07/26 00:23:13 robertk Exp $
|
||||
*/
|
||||
/*
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS OS/2 sub system
|
||||
* FILE: dll/doscalls.c
|
||||
* PURPOSE: Kernelservices for OS/2 apps
|
||||
* PROGRAMMER: Robert K. nonvolatil@yahoo.de
|
||||
* REVISION HISTORY:
|
||||
* 13-03-2002 Created
|
||||
*/
|
||||
|
||||
|
||||
// here's only the NTDLL needet
|
||||
#include <ddk/ntddk.h>
|
||||
|
||||
|
||||
|
||||
|
||||
BOOL STDCALL DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
|
||||
{
|
||||
switch (ul_reason_for_call)
|
||||
{
|
||||
case 1://DLL_PROCESS_ATTACH:
|
||||
case 2://DLL_THREAD_ATTACH:
|
||||
case 3://DLL_THREAD_DETACH:
|
||||
case 0://DLL_PROCESS_DETACH:
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue