⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dllmain.cpp

📁 通过手机蓝牙控制个人电脑上的幻灯片的播放
💻 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 + -