Yao Chunli
2022-05-12 b36e6fc00b53e2e40aa56db28ac58b3aef6ac102
提交 | 用户 | age
0a20f7 1 // dllmain.cpp : 定义 DLL 应用程序的入口点。
Q 2 #include "pch.h"
3
4 BOOL APIENTRY DllMain( HMODULE hModule,
5                        DWORD  ul_reason_for_call,
6                        LPVOID lpReserved
7                      )
8 {
9     switch (ul_reason_for_call)
10     {
11     case DLL_PROCESS_ATTACH:
12     case DLL_THREAD_ATTACH:
13     case DLL_THREAD_DETACH:
14     case DLL_PROCESS_DETACH:
15         break;
16     }
17     return TRUE;
18 }
19