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

📄 appinfo.h

📁 一款SmartPhone的驱动代码
💻 H
字号:
/**************************************************************
*	Copyright(C) 2003--2006  
*	Epson Electronic Technology Development (ShenZhen) co., LTD
*   All rights reserved.
*	
*   File name:    AppInfo.h
*	Platform:     VC++ simulator of EPSON GUI 
*	Author:       David Cheng
*   Dept:         Electronic Enginerring Department 
*   Date:         02/26/2003
*	Descriptions:applications management
*   Modified:     
*************************************************************/
#ifndef _SYS_APPINFO_H_
#define	_SYS_APPINFO_H_


#ifdef __cplusplus
extern "C" {
#endif	// __cplusplus


/**************** Micro Definition *****************************/
// 
#define	DM_MAX_APP_DESCRIPT_LEN		10	// 最大应用程序描述字段长度
#define	DM_MAX_APPCLASS				6	// 最大应用程序类别
#define	DM_MAX_CLASSAPP_NUM			6	// 最大的每个类别中应用程序数量

#if	_DM_DYNAMIC_APP
// AP堆栈空间
#define	DM_STACK_SIZE				0x10000	// 64K堆栈空间
#define	DM_MAX_APPPATH				128		// 应用程序路径的最大长度
#endif	


#define	DM_IDC_APPFIRST				2000	// 第一应用程序图标按钮的ID

	
// 位置排列
#define	DM_APPFIRSTICON_X			20	// 第一个AP图标的横坐标
#define	DM_APPFIRSTICON_Y			32	// 第一个AP图标的纵坐标
#define	DM_APPICON_WIDTH			48	// AP图标宽度
#define	DM_APPICON_HEIGHT			48	// AP图标高度
#define	DM_APPICON_XSPACE			30	// AP图标的横间距
#define	DM_APPICON_YSPACE			20	// AP图标的纵间距

// 应用程序类别(此处根据用户自己的图标含义自己定义)
#define	DM_APPCLASS_CAM				0	//
#define	DM_APPCLASS_BUS				1	//
#define	DM_APPCLASS_NOTE			2	//
// 。。。。。。。

/**************** Structure Definition *****************************/
// 指定类别的应用程序信息
typedef struct {
	BYTE	Descript[DM_MAX_APP_DESCRIPT_LEN+1];	// 应用程序描述部分
	POINT	BeginPoint;							// 显示的开始位置
	PVOID	IconAddr;							// 图标的内存地址
	#if	_DM_DYNAMIC_APP
	UCHAR	AppPath[DM_MAX_APPPATH];			// AP的路径
	#endif
	ULONG	Reserve;							// 系统保留
}APP_INFO, *P_APP_INFO;

/**************** extern function declaration *********************/
BOOL GetAppInfo( BYTE );
VOID InitAppInfo( VOID );
VOID ExecuteApp( P_APP_INFO );



#ifdef __cplusplus
}
#endif	// __cplusplus

#endif	// _SYS_APPINFO_H_

⌨️ 快捷键说明

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