📄 dllmain.cpp
字号:
// DLLMain.cpp : Defines the entry point for the GINA DLL.
//
#include "stdafx.h"
// this is the one and only global variable we use, and it's implemented to be read-only
static HANDLE _hModule;
HMODULE GetMyModuleHandle() { return (HMODULE)_hModule; }
HINSTANCE GetMyInstance() { return (HINSTANCE)_hModule; }
BOOL APIENTRY DllMain( HANDLE hModule,
DWORD reason,
LPVOID lpReserved
)
{
if (DLL_PROCESS_ATTACH == reason) {
_hModule = hModule;
DisableThreadLibraryCalls(GetMyModuleHandle());
}
return TRUE;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -