windows-nt/Source/XPSP1/NT/shell/ext/hnw/nconnnt/dllmain.cpp

21 lines
368 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#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;
}