executable.h

来自「real-time(实时渲染技术DirectX)13-18」· C头文件 代码 · 共 25 行

H
25
字号
/***************************************************************
* Executable.h                                                 *
*                                                              *
* This file contains the prototypes for basic functions that   *
* are called by the OS when the executable starts.			   *
*                                                              *
* Changes:                                                     *
*	none													   *
***************************************************************/

//include the definitions of the basic windows types
#include <windows.h>

//WinMain is called when the application is run.  It usually 
//takes care of the creation and functioning of the window.
//For our purposes, we create an instance of our application
//class and let that handle the window.
INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR, INT);

//This is the message handling function that is called by the 
//system.  We simply pass the messages to our application 
//object.
LRESULT WINAPI EntryMessageHandler(HWND hWnd, UINT Message, 
							  WPARAM wParam, LPARAM lParam);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?