2020-09-30 16:53:55 +02:00

21 lines
388 B
C++

#include <windows.h>
#include <shlwapi.h>
#include <shlwapip.h>
#include "globals.h"
BOOL DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID /*fProcessUnload*/)
{
if (DLL_PROCESS_ATTACH == dwReason)
{
DisableThreadLibraryCalls(hinstDll);
g_hinst = hinstDll;
}
else if (DLL_PROCESS_DETACH == dwReason)
{
}
return TRUE;
}