1*c2c66affSColin Finck /* 2*c2c66affSColin Finck * COPYRIGHT: See COPYING in the top level directory 3*c2c66affSColin Finck * PROJECT: ReactOS system libraries 4*c2c66affSColin Finck * FILE: dll/win32/framedyn/main.c 5*c2c66affSColin Finck * PURPOSE: framedyn entry point 6*c2c66affSColin Finck * PROGRAMMERS: Pierre Schweitzer (pierre@reactos.org) 7*c2c66affSColin Finck * 8*c2c66affSColin Finck */ 9*c2c66affSColin Finck 10*c2c66affSColin Finck /* INCLUDES ******************************************************************/ 11*c2c66affSColin Finck 12*c2c66affSColin Finck #include <stdarg.h> 13*c2c66affSColin Finck #include <windef.h> 14*c2c66affSColin Finck #include <winbase.h> 15*c2c66affSColin Finck DllMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID lpvReserved)16*c2c66affSColin FinckBOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) 17*c2c66affSColin Finck { 18*c2c66affSColin Finck 19*c2c66affSColin Finck switch (fdwReason) 20*c2c66affSColin Finck { 21*c2c66affSColin Finck case DLL_PROCESS_ATTACH: 22*c2c66affSColin Finck DisableThreadLibraryCalls(hinstDLL); 23*c2c66affSColin Finck break; 24*c2c66affSColin Finck case DLL_PROCESS_DETACH: 25*c2c66affSColin Finck break; 26*c2c66affSColin Finck } 27*c2c66affSColin Finck 28*c2c66affSColin Finck return TRUE; 29*c2c66affSColin Finck } 30