码迷,mamicode.com
首页 >  
搜索关键字:hinstance    ( 198个结果
显示鼠标单击控件次数
#include?<windows.h> LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM); HINSTANCE?hInst; /*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?*/ in...
分类:其他好文   时间:2015-11-08 12:47:13    阅读次数:234
创建简单的窗口程序
#include?<windows.h> /*窗口函数的函数原型*/ LRESULT?CALLBACK?MainWndProc(HWND,?UINT,?WPARAM,?LPARAM); int?APIENTRY?WinMain(HINSTANCE?hInstance,?HINSTANCE?hPrevInstance,?LPSTR?lpCmdLi...
分类:其他好文   时间:2015-11-03 02:06:09    阅读次数:127
doom3进游戏之前的流程展开
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { // win_main.cpp Sys_CreateConsole(); commo...
分类:其他好文   时间:2015-10-19 12:15:16    阅读次数:169
Doom3 execution unrolled by Fabien Sanglard
int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow ) { Sys_SetPhysicalWorkMemory( 192 Init( 0, NULL, l...
分类:其他好文   时间:2015-10-19 09:24:53    阅读次数:166
WinMain与WndProc以及窗口诞生过程总结
一、int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int nCmdShow)四个参数:hInstance:程序当前实例的句柄(handle to current instance),...
分类:Windows程序   时间:2015-10-10 18:33:49    阅读次数:230
cocos2d-x 打开控制面板
于cocos2dx反过来,我们所熟悉的控制台输出,可以查看日志,例如C介面printf();性能。int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, ...
分类:其他好文   时间:2015-09-15 23:05:46    阅读次数:123
第5讲:HOOK 任务管理器 第2种方法注入
exe 注入程序完整代码:#include "stdafx.h"typedef BOOL (*StartHook)();int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, ...
分类:其他好文   时间:2015-08-30 00:47:51    阅读次数:213
mfc cef
在mfc单文档程序中加入cef:1.在BOOL CtestCEFApp::InitInstance()中初始化cef HINSTANCE hInst = GetModuleHandle(NULL); CefMainArgs main_args(hInst); m_cefApp = new ClientApp(); //cef默认启动四个进程,分别是浏览器主进程,渲染进程,GPU进程,插...
分类:编程语言   时间:2015-08-25 16:43:03    阅读次数:662
DLL共享数据段
//变量定义,不同Instance共享的该变量 #pragma data_seg("SHARED") static HHOOK hhk=NULL; //鼠标钩子句柄 static HINSTANCE hinst=NULL; //本dll的实例句柄 (hook.dll) #pragma data_seg() #pragma comment(linker, "/section:SHARED,rws"...
分类:其他好文   时间:2015-08-19 20:43:00    阅读次数:137
Direct-X学习笔记--公告板
// D3DDemo.cpp : 定义应用程序的入口点。 // #include "stdafx.h" #include "D3DDemo.h" #include "DirectInput.h" #include "Camera.h" #define MAX_LOADSTRING 100 // 全局变量: HINSTANCE hInst; /...
分类:其他好文   时间:2015-08-13 06:33:57    阅读次数:215
198条   上一页 1 ... 7 8 9 10 11 ... 20 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!