2016-04-18 09:08:37 +00:00
|
|
|
/*=================================================================
|
|
|
|
File created by Yohann NICOLAS.
|
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
Main file of this DLL
|
2016-04-18 09:08:37 +00:00
|
|
|
|
|
|
|
=================================================================*/
|
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
2016-04-18 09:08:37 +00:00
|
|
|
#include <windows.h>
|
|
|
|
|
2017-01-23 19:34:12 +00:00
|
|
|
BOOL APIENTRY DllMain( HMODULE hModule,
|
|
|
|
DWORD ul_reason_for_call,
|
|
|
|
LPVOID lpReserved
|
|
|
|
)
|
2016-04-18 09:08:37 +00:00
|
|
|
{
|
2017-01-23 19:34:12 +00:00
|
|
|
switch (ul_reason_for_call)
|
2016-04-18 09:08:37 +00:00
|
|
|
{
|
2017-01-23 19:34:12 +00:00
|
|
|
case DLL_PROCESS_ATTACH:
|
|
|
|
case DLL_THREAD_ATTACH:
|
|
|
|
case DLL_THREAD_DETACH:
|
|
|
|
case DLL_PROCESS_DETACH:
|
2016-04-18 09:08:37 +00:00
|
|
|
break;
|
|
|
|
}
|
2017-01-23 19:34:12 +00:00
|
|
|
return TRUE;
|
2016-04-18 09:08:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
/*================================= END OF FILE =================================*/
|