DLL进入、退出事件

BOOL WINAPI DLLMain(HINSTANCE hinstDLL,DWORD fdwReason,LPVOID fImpLoad)

{

  Switch(fdwReason)

  {

    // 进入

    Case DLL_PROCESS_ATTACH:

      break;

 

    // 退出

    case DLL_PROCESS_DETACH:

      break;

  }

}

posted @ 2015-03-12 11:44  邵学军  阅读(399)  评论(0编辑  收藏  举报