|
@@ -1,5 +1,12 @@
|
|
|
#ifdef _WIN32
|
|
|
|
|
|
+#ifndef WIN32_LEAN_AND_MEAN
|
|
|
+#define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的内容
|
|
|
+#endif /*WIN32_LEAN_AND_MEAN*/
|
|
|
+
|
|
|
+// Windows 头文件
|
|
|
+#include <windows.h>
|
|
|
+
|
|
|
BOOL APIENTRY DllMain(HMODULE hModule,
|
|
|
DWORD ul_reason_for_call,
|
|
|
LPVOID lpReserved
|