init.h

来自「smartphone2003 上用evc编译的按键测试程序, api编写的」· C头文件 代码 · 共 32 行

H
32
字号
/*****************************************************************************

THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.

This is "Sample Code" and is distributable subject to the terms of the end user license agreement.

****************************************************************************/
//
// functions in init.cpp
//
BOOL CALLBACK MainWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
HWND AreWeRunning(PCTSTR szClassName);
BOOL InitInstance (int CmdShow, LPTSTR szWindowName, LPTSTR szClassName);
ATOM MyRegisterClass(LPTSTR szClassName);

//
// globals in init.cpp
//
extern 	HINSTANCE 		g_hinst;
extern	HWND			g_hwnd;
extern	HWND			g_hwndCB;
extern	BOOL			g_bHibernated;

//
// definitions
//
#define ID_APPBUTTON 0x1234

⌨️ 快捷键说明

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