windows-nt/Source/XPSP1/NT/shell/ext/hnw/nconnnt/dllmain.cpp
2020-09-26 16:20:57 +08:00

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;
}