2002-07-26 00:23:13 +00:00
|
|
|
/* $Id: doscalls.cpp,v 1.1 2002/07/26 00:23:13 robertk Exp $
|
2002-03-23 19:23:28 +00:00
|
|
|
*/
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PROJECT: ReactOS OS/2 sub system
|
|
|
|
* FILE: dll/doscalls.c
|
|
|
|
* PURPOSE: Kernelservices for OS/2 apps
|
2002-05-30 15:11:47 +00:00
|
|
|
* PROGRAMMER: Robert K. nonvolatil@yahoo.de
|
2002-03-23 19:23:28 +00:00
|
|
|
* REVISION HISTORY:
|
|
|
|
* 13-03-2002 Created
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2002-07-26 00:23:13 +00:00
|
|
|
// here's only the NTDLL needet
|
2002-05-30 15:11:47 +00:00
|
|
|
#include <ddk/ntddk.h>
|
2002-03-23 19:23:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2002-03-24 18:52:10 +00:00
|
|
|
BOOL STDCALL DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved )
|
2002-03-23 19:23:28 +00:00
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|