亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? cdevent.h

?? 能數(shù)碼相機(jī)開(kāi)發(fā)包Canon Digital Camera SDK 里面包括CSDK的安裝程序,CSDK的VC++開(kāi)發(fā)示例,以及開(kāi)發(fā)包的用戶(hù)指南對(duì)于有興趣或需要開(kāi)發(fā)具備數(shù)碼相機(jī)拍照功能電子檔案
?? H
字號(hào):
#ifndef _CD_EVENT_H_
#define _CD_EVENT_H_

/****************************************************************************
 ****************************************************************************
 *             Canon Digital Camera SDK : Event IDs                         *
 ****************************************************************************
 ****************************************************************************/

/*---------------------------------------------------------------------------
               Camera Event Identifiers  : cdEventID
----------------------------------------------------------------------------*/

/*//////////  Event Code Masks  ////////////////////////////////////////////*/
#define cdEVENT_ISSPECIFIC_MASK		0x08000000L
#define cdEVENT_RESERVED_MASK		0x07F00000L
#define cdEVENT_SEVERITY_MASK		0x000F0000L
#define cdEVENT_EVENTID_MASK		0x0000FFFFL

/*//////////  Macros  //////////////////////////////////////////////////////*/
#define cdEVENT_ISSPECIFIC(event)	(0 != ((event)&(cdEVENT_ISSPECIFIC_MASK)))
#define cdEVENT_SEVERITY(event)		((event)&(cdEVENT_SEVERITY_MASK))
#define cdEVENT_RESERVEDID(event) 	((event)&(cdEVENT_RESERVED_MASK))
#define cdEVENT_EVENTID(event)		((event)&(cdEVENT_EVENTID_MASK))

/*//////////  Event Severity levels ////////////////////////////////////////*/
#define cdEVENT_SEVERITY_NONE         0x00000000L 
	/* nothing bad happened: this notification is just informational
	*/
#define cdEVENT_SEVERITY_WARNING	  0x00020000L 
	/* The camera is going to shut down, or some warning event happened.
	   More detail information is given in the event code.
	   If client does not know the event code, it should close device 
	   immediatly.
	*/
#define cdEVENT_SEVERITY_SHUTDOWN	  0x00040000L 
	/* the camera has shut down. The Event ID tells the reason of the shut 
	   down.			
	*/

/*//////////  Event Identifiers  ///////////////////////////////////////////*/
#define cdEVENT_BATTERY_LEVEL_CHANGED		0x0001L 
	/* event data tells current battery level 
	*/
	#define BATTERY_LEVEL_MASK					(0x0000000FL)

	#define BATTERY_LEVEL_NORMAL				(0x00000006L)
	#define BATTERY_LEVEL_WEAK					(0x00000004L)
	#define BATTERY_LEVEL_SAFETY_LOW			(0x00000003L)
	#define BATTERY_LEVEL_LB					(0x00000002L)

	#define BATTERY_STATUS_NORMAL				(0x00000006L)
	#define BATTERY_STATUS_WEAK					(0x00000004L)
	#define BATTERY_STATUS_SAFETY_LOW			(0x00000003L)

	#define BATTERY_KIND_MASK					(0xF0000000L)
	#define BATTERY_KIND_UNKNOWN				(0x00000000L)
	#define BATTERY_KIND_AC						(0x10000000L)
	#define BATTERY_KIND_LI						(0x20000000L)
	#define BATTERY_KIND_NIH					(0x30000000L)
	#define BATTERY_KIND_NICD					(0x40000000L)
	#define BATTERY_KIND_ALMN					(0x50000000L)
 
	/* Combining this with cdEVENT_SEVERITY_NONE indicates the notification is
	   just for information, no action is required.
	   Combining this with cdEVENT_SEVERITY_WARNING indicates that user should
	   close device immediately. 
	   Combining this with cdEVENT_SEVERITY_SHUTDOWN indicates that device has
	   shut down because of Low Battery 
	*/

#define cdEVENT_DIAL_CHANGE 				0x0002L 

#define cdEVENT_CF_GATE_CHANGED  			0x0003L 
	/* event data tells whether gate opened */
	#define cdEVENT_PARAM_CF_GATE_OPEN			(0x00000000L)
	/*#define cdEVENT_PARAM_CF_GATE_CLOSE			(0x00000001L)*/

#define cdEVENT_BATT_COVER_CHANGED 			0x0004L
	/* event data tells whether cover opened */
	#define cdEVENT_PARAM_BATT_COVER_OPEN		(0x00000000L)
	/*#define cdEVENT_PARAM_BATT_COVER_CLOSE		(0x00000001L)*/

#define cdEVENT_CONNECTION_TIME_OUT 		0x0005L 
	/* Combining this with cdEVENT_SEVERITY_SHUTDOWN tells that the camera has
	   already shut down because of the time out.
	   Combining this with cdEVENT_SEVERITY_WARNING tells that the camera is 
	   going to shut down.
	   The event data tells how long (in minutes) camera would remain waking up.
	*/

#define cdEVENT_CONNECTION_DISAPPEARED		0x000DL
	/* USB/IEEE1394 connection is disappeared
	*/

#define cdEVENT_UPDATE_CAMERA_CONDITIONS	0x000EL
	/* Update Camera conditions event
	*/
	#define cdEVENT_PARAM_FILE_CREATED					0x00000001L
	#define cdEVENT_PARAM_FILE_REMOVED					0x00000002L
	#define cdEVENT_PARAM_FILE_ATTRIBUTE_CHANGED		0x00000004L
	#define cdEVENT_PARAM_FORMATED						0x00000100L	
	
	/* PTP Camera event's flag*/
	#define cdEVENT_PARAM_PTP							0x00010000L	

#define cdEVENT_CHANGE_LOCK_STATUS			0x000FL
	/* Used as parameter
	*/
	#define cdEVENT_PARAM_DISPLAY_PLAY_OR_NENU			0x01000000L
	#define cdEVENT_PARAM_PROCESSING_REC_OR_PREPARE_REC	0x02000000L
	/* used as lower 3Byte for parameter
	*/
	#define cdEVENT_PARAM_LOCK_TYPE1					0x00000001L
	#define cdEVENT_PARAM_LOCK_TYPE2					0x00000002L
	#define cdEVENT_PARAM_LOCK_TYPE3					0x00000004L
	#define cdEVENT_PARAM_LOCK_TYPE4					0x00000008L
	#define cdEVENT_PARAM_LOCK_TYPE5					0x00000010L
	#define cdEVENT_PARAM_LOCK_TYPE6					0x00000020L

#define cdEVENT_UNRECOVERABLE_ERROR			0x0006L

#define cdEVENT_UNKNOWN_COMMAND_RECEIVED 	0x0007L

#define cdEVENT_RELEASE_PARAM_CHANGED       0x000BL


/*---------------------------------------------------------------------------
              Release control Event Identifiers  : cdReleaseEventID
----------------------------------------------------------------------------*/

#define cdRELEASE_EVENT_RESET_HW_ERROR		(10L)
		/* Notify hardware error.
		   The second parameter of this event specifies the kind of error as
		   follows.
		*/
		#define HW_ERROR_PARAM_CAPTURE_FAULT		(0x00000001) /* Capture faild */
		#define HW_ERROR_PARAM_LENSE_CLOSE			(0x00000002) /* Lens closed   */
		#define HW_ERROR_PARAM_CAPTURE_MODE_DEPTH	(0x00000003) /* DEPTH mode    */
		#define HW_ERROR_PARAM_SENSOR_CLEANING		(0x00000004) /* Cleaning      */
		#define HW_ERROR_PARAM_SILENT_OPERATION		(0x00000005) /* PF21          */

#define cdRELEASE_EVENT_CHANGED_BY_UI		(27L)
		/* Notify the capture parameter in the camera is changed by user 
		   operation to camera UI.
           The Host PC must get new capture parameter from the camera by 
		   using RELEASE_CONTROL_GET_RELEASE_PARAMS command when this 
		   notification received.
		*/

#define cdRELEASE_EVENT_RELEASE_START		(28L)
		/* Notify the camera starts the capture operation with asynchronous mode.
		*/

#define cdRESEASE_EVENT_RELEASE_COMPLETE	(29L)
		/* Notify the camera stop the capture operation with asynchronous mode.	
		   The second parameter of this event specifies the number of released image data.
		   Data type is cdUInt32.
		   SDK client have to execute CDGetReleasedData() this number of the times.
		*/
		
#define cdRELEASE_EVENT_CAM_RELEASE_ON		(30L)
		/* Notify the release SW is pushed on the camera by User.
		   Currently this notification is supported by new Powershot only.
		   When this notification is happened, the camera does not start 
		   the captre.
		   To capture the image, the host PC must execute the sequence to 
		   capture the image same as PC release operation nomaly.
		   (Do CDRelease() command.)		
		*/

#define cdRELEASE_EVENT_ROTATION_ANGLE_CHANGED (31L)
		/* Notify the rotation angle detected by auto rotation sensor has changed.
		   The second parameter of this event shows the angle.
				0: 0 or 180 degree
				1: 90 degrees
				3: 270 degrees
		*/

#define cdRELEASE_EVENT_ABORT_PC_EVF		(32L)
		/* Notify the viewfinder function became the use cancel. 
		*/

#define cdRELEASE_EVENT_ENABLE_PC_EVF		(33L)
		/* Notify the view finder function became applicable. 
		*/


/*
---------------------------------------------------------------
     Sample : cdEventCallbackFunction
---------------------------------------------------------------

cdUInt32 sampleEventCallbackFunction(
				cdEventID			EventID, 
				const void*			pData,		
				cdUInt32 			DataSize,	
				cdContext			Context )
{
	if(cdEVENT_ISSPECIFIC(EventID)){
		return cdOK; //ignore specific event 
	}

	if(cdEVENT_SEVERITY_NONE == cdEVENT_SEVERITY(EventID)){

		switch (cdEVENT_EVENTID(EventID)){
		case cdEVENT_BATTERY_LEVEL_CHANGED:
			// just inform user the current battery level
			// ((cdUInt32*)pData) would tell the battery level
			break;
		}
		return cdOK;
	}
	else if (cdEVENT_SEVERITY_WARNING == cdEVENT_SEVERITY(EventID)){ 

		switch (cdEVENT_EVENTID(EventID)){
		case cdEVENT_BATTERY_LEVEL_CHANGED:
			// *((cdUInt32*)pData) would tell the battery level
			// Client should tell end user the battery is going down.
			break;
		case cdEVENT_CONNECTION_TIME_OUT:
			// *((cdUInt32*)pData) would tell the remaining seconds(approx) to shutdown
			// Client should bring up alert dialog 
			// returning cdDEVICE_STAY_AWAKE error postpone the time out,
			// returning 0(cdOK) let camera shut down.
			break;
		case cdEVENT_UNKNOWN_COMMAND_RECEIVED:
			// this is for debug purpose. Just generates debug log string
			break;
		default:
			;  // ignore other event
		}
		return cdOK;
	}
	else if (cdEVENT_SEVERITY_SHUTDOWN == cdEVENT_SEVERITY(EventID)){

		// Camera has shut down. Use the event ID to tell end user the reason.
        // The typical behavior of client is to post message itself from here.
        // At the main event loop of the client, upon receipt of the message, client wil close device.
		switch (cdEVENT_EVENTID(EventID)){
		case cdEVENT_BATTERY_LEVEL_CHANGED: // LB happened
			break;
		case cdEVENT_CF_GATE_CHANGED:       // gate is opened
			break;
		case cdEVENT_BATT_COVER_CHANGED:    // battery cover is opened.
			break;
		case cdEVENT_DIAL_CHANGE:           // Dial is changed
			break;
		case cdEVENT_CONNECTION_TIME_OUT:   // timed out since last request from PC
			break;
		default:// unknown reason
			;
		}
		return cdOK;
 	}
	return cdOK;//this should not happen. Just in case.
}
*/



#endif

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲同性gay激情无套| 国产乱子轮精品视频| 亚洲欧洲精品一区二区三区| 久久色视频免费观看| 欧美一二三区精品| 日韩欧美一级精品久久| 欧美一区二区高清| 精品免费国产一区二区三区四区| 欧美美女网站色| 欧美一区二区三区爱爱| 日韩欧美国产综合在线一区二区三区| 91麻豆精品国产91久久久 | 成人午夜在线播放| 国产高清不卡一区| 国产a精品视频| 97久久超碰国产精品电影| 91网址在线看| 欧洲精品中文字幕| 制服丝袜av成人在线看| 日韩一级欧美一级| 国产视频一区二区在线| 中文字幕中文字幕一区| 一区二区三区欧美视频| 亚洲成人av中文| 狠狠色综合播放一区二区| 国产酒店精品激情| 91视频国产资源| 欧美欧美午夜aⅴ在线观看| 欧美xxxx在线观看| 国产精品欧美一级免费| 亚洲自拍偷拍麻豆| 日本美女视频一区二区| 国产电影一区在线| 91国产精品成人| 日韩欧美国产麻豆| 中文字幕在线一区| 爽好久久久欧美精品| 韩日欧美一区二区三区| 成人禁用看黄a在线| 欧洲激情一区二区| 日韩欧美一级精品久久| 亚洲国产精品ⅴa在线观看| 成人免费观看男女羞羞视频| 欧美日韩高清影院| 久久先锋影音av鲁色资源| 国产精品电影一区二区三区| 日本成人中文字幕| 亚洲人亚洲人成电影网站色| 久久国内精品自在自线400部| 日韩黄色在线观看| 中文字幕一区二区三区四区不卡 | 亚洲777理论| 久久精品999| 91丨九色porny丨蝌蚪| 欧美高清一级片在线| 国产夜色精品一区二区av| 亚洲综合色噜噜狠狠| 国产一区二区不卡在线| 色婷婷综合久久久中文一区二区| 日韩午夜精品电影| 亚洲精品视频免费看| 国内外精品视频| 欧美四级电影网| 国产女人18毛片水真多成人如厕| 五月婷婷综合网| 色综合网站在线| 久久久久久电影| 日本不卡视频在线观看| 91久久精品午夜一区二区| 久久久久久97三级| 美女网站色91| 欧美色网站导航| 国产精品久久久久久久岛一牛影视| 日本亚洲视频在线| 欧美性色aⅴ视频一区日韩精品| 国产欧美一区二区精品婷婷 | 色老汉一区二区三区| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 7777精品伊人久久久大香线蕉| 国产精品久久久久久久久免费樱桃| 日韩黄色片在线观看| 日本电影欧美片| 国产精品免费看片| 国产高清视频一区| 精品国产一区二区三区久久影院 | 成人免费视频视频| 26uuu精品一区二区三区四区在线 26uuu精品一区二区在线观看 | 99精品在线免费| 国产视频视频一区| 国产麻豆成人精品| 26uuu欧美| 激情综合网av| 日韩三级视频在线观看| 性久久久久久久久| 欧美日韩国产首页在线观看| 亚洲精选一二三| 色综合久久天天| 国产精品久久久久久久第一福利 | 亚洲福利视频导航| 在线免费不卡视频| 亚洲精品一卡二卡| 色婷婷av一区二区| 亚洲图片欧美综合| 欧美调教femdomvk| 香蕉乱码成人久久天堂爱免费| 欧美亚洲高清一区| 亚洲国产成人porn| 在线不卡免费欧美| 免费在线观看不卡| 精品乱码亚洲一区二区不卡| 久草中文综合在线| 久久久三级国产网站| 国产99久久久国产精品| 国产精品美女久久久久久久久| 成人黄动漫网站免费app| 国产精品国产三级国产a | 日韩一区国产二区欧美三区| 奇米影视7777精品一区二区| 欧美电视剧免费全集观看| 欧美高清视频www夜色资源网| 午夜久久电影网| 日韩三级伦理片妻子的秘密按摩| 国产最新精品免费| 国产精品欧美综合在线| 91影院在线观看| 亚洲一区免费观看| 欧美一级专区免费大片| 极品少妇一区二区| 中文字幕五月欧美| 欧美专区在线观看一区| 日产精品久久久久久久性色| 精品av久久707| 菠萝蜜视频在线观看一区| 亚洲综合久久久| 日韩视频免费观看高清在线视频| 国产麻豆精品在线观看| 亚洲女同女同女同女同女同69| 欧美人xxxx| 国产精品自拍三区| 亚洲黄一区二区三区| 91精品国产色综合久久不卡电影 | 五月激情综合网| 久久久亚洲精品石原莉奈| 91免费国产在线观看| 午夜精品视频在线观看| 久久久99久久| 欧美在线观看禁18| 国内精品伊人久久久久av影院 | 日本va欧美va欧美va精品| 国产三级精品视频| 欧美色视频一区| 国产高清久久久| 舔着乳尖日韩一区| 国产欧美一区二区在线观看| 欧美天天综合网| 国内成人自拍视频| 一区二区三区在线视频观看| 日韩精品中文字幕一区| 91天堂素人约啪| 国产一区二区三区av电影| 亚洲综合久久久| 国产日韩欧美激情| 91精品欧美综合在线观看最新| 丰满亚洲少妇av| 青青草成人在线观看| 本田岬高潮一区二区三区| 午夜影院在线观看欧美| 中文在线一区二区| 欧美一级国产精品| 欧美在线你懂得| 丁香啪啪综合成人亚洲小说 | 97se亚洲国产综合在线| 精品在线视频一区| 亚洲国产日韩a在线播放| 日本一区二区高清| 日韩欧美一卡二卡| 欧美日韩亚洲综合在线 欧美亚洲特黄一级 | 久久女同互慰一区二区三区| 欧美色男人天堂| va亚洲va日韩不卡在线观看| 蜜臀av性久久久久蜜臀aⅴ四虎 | 成人欧美一区二区三区| 精品国产免费一区二区三区四区| 在线观看日韩高清av| 成人av网址在线| 九九久久精品视频 | 欧美少妇xxx| 99精品欧美一区二区三区综合在线| 精品一区二区免费视频| 亚洲第一搞黄网站| 亚洲一本大道在线| 亚洲精品成a人| 成人免费在线观看入口| 国产欧美一区二区精品仙草咪| 2019国产精品| 日韩精品专区在线影院观看| 欧美精品国产精品| 欧美日韩免费在线视频| 91色视频在线| jlzzjlzz欧美大全|