5 * LICENSE: Public domain
6 * PROJECT: ReactOS system libraries
7 * FILE: reactos/lib/psapi/misc/malloc.c
8 * PURPOSE: PSAPI.DLL main procedure
9 * PROGRAMMER: KJK::Hyperion <noog@libero.it>
11 * 28/11/2001: Created (Emanuele Aliberti <eal@users.sf.net>)
12 * 30/08/2002: Minimal tweak (KJK::Hyperion <noog@libero.it>)
15 #include <ntdll/ldr.h>
17 BOOLEAN STDCALL DllMain
24 if(dwReason == DLL_PROCESS_ATTACH)
25 /* don't bother calling the entry point on thread startup - PSAPI.DLL doesn't
26 store any per-thread data */
27 LdrDisableThreadCalloutsForDll(hinstDll);