提交 | 用户 | 时间 | ||
f7932f | 1 | // dllmain.cpp : 定义 DLL 应用程序的入口点。 |
D | 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 |