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

📄 stdafx.h

📁 涉及的代码是针对WINCE3.0(PPC2002)平台
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -