21 lines
368 B
C++
21 lines
368 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;
|
|
} |