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