标签:
BOOL WINAPI DLLMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID fImpLoad)
{
Switch(fdwReason)
// 进入
Case DLL_PROCESS_ATTACH:
break;
// 退出
case DLL_PROCESS_DETACH:
}
DLL进入、退出事件
原文地址:http://www.cnblogs.com/shaoxuejun/p/4331976.html