stdafx.h
来自「涉及的代码是针对WINCE3.0(PPC2002)平台」· C头文件 代码 · 共 59 行
H
59 行
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#if !defined(AFX_STDAFX_H__00261633_F196_49E6_B955_26252683990C__INCLUDED_)
#define AFX_STDAFX_H__00261633_F196_49E6_B955_26252683990C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#if (_WIN32_WCE <= 211)
//#error This project can not be built for H/PC Pro 2.11 or earlier platforms.
#endif
#pragma warning(disable: 4060)
#pragma warning(disable: 4101)
#include <windows.h>
#include <windows.h>
#include <commctrl.h>
#include <windowsx.h>
#include <stdlib.h>
//WINCE环境
#if _WIN32_WCE
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
#include <aygshell.h>
#include <sipapi.h>
#define ScreenW 240 //游戏窗口宽度
#define ScreenH 320 //游戏窗口高度
#else //PC环境,只在WIN2000 Pro/VC6下测试过
#include <stdio.h>
#include <mmsystem.h>
#pragma comment(lib,"winmm.lib")
#define TCHAR char
#define wcslen strlen
#define wcscmp strcmp
#define wcscpy strcpy
#define wcscat strcat
#define wcsncpy strncpy
#define swprintf sprintf
#define SHLoadDIBitmap(szBmpName) (HBITMAP)LoadImage(GetModuleHandle(NULL),\
szBmpName, IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
#define ScreenW 450 //游戏窗口宽度
#define ScreenH 550 //游戏窗口高度
#endif
//
#include "resource.h"
//#pragma comment(lib,"aygshell.lib")
// TODO: reference additional headers your program requires here
//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_STDAFX_H__00261633_F196_49E6_B955_26252683990C__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?