资源简介
用于开发 控制尼康D800应用程序 , 内有
nikon D800 MTP 协议规范 .
代码片段和文件信息
//================================================================================================
// Copyright Nikon Corporation - All rights reserved
//
// View this file in a non-proportional font tabs = 3
//================================================================================================
#include
#include
#if defined( _WIN32 )
#include
#include
#endif
#include “Maid3.h“
#include “maid3d1.h“
#include “CtrlSample.h“
#if defined( _WIN32 )
ULONG g_ulProgressValue;// used in only ProgressProc
#elif defined(__APPLE__)
ULONG g_ulProgressValue;// used in only ProgressProc
#endif
BOOL g_bFirstCall = true;// used in ProgressProc and DoDeleteDramImage
//------------------------------------------------------------------------------------------------------------------------------------
void CALLPASCAL CALLBACK ModEventProc( NKREF refProc ULONG ulEvent NKPARAM data )
{
BOOL bRet;
LPRefObj pRefParent = (LPRefObj)refProc pRefChild = NULL;
switch(ulEvent){
case kNkMAIDEvent_AddChild:
bRet = AddChild( pRefParent (SLONG)data );
if ( bRet == false ) return;
pRefChild = GetRefChildPtr_ID( pRefParent (SLONG)data );
// Enumerate children(Item and Data objects) and open them.
bRet = EnumChildrten( pRefChild->pobject );
if ( bRet == false ) return;
break;
case kNkMAIDEvent_RemoveChild:
bRet = RemoveChild( pRefParent (SLONG)data );
if ( bRet == false ) return;
break;
case kNkMAIDEvent_WarmingUp:
// The Type0006 Module does not use this event.
puts( “Event_WarmingUp to Module object is not supported.\n“ );
break;
case kNkMAIDEvent_WarmedUp:
// The Type0006 Module does not use this event.
puts( “Event_WarmedUp to Module object is not supported.\n“ );
break;
case kNkMAIDEvent_CapChange:
// re-enumerate the capabilities
if ( pRefParent->pCapArray != NULL ) {
free( pRefParent->pCapArray );
pRefParent->ulCapCount = 0;
pRefParent->pCapArray = NULL;
}
bRet = EnumCapabilities( pRefParent->pobject &(pRefParent->ulCapCount) &(pRefParent->pCapArray) NULL NULL );
if ( bRet == false ) return;
// ToDo: Execute a process when the property of a capability was changed.
break;
case kNkMAIDEvent_CapChangeValueOnly:
// ToDo: Execute a process when the value of a capability was changed.
printf( “The value of Capability(CapID=0x%X) was changed.\n“ data );
break;
case kNkMAIDEvent_OrphanedChildren:
// ToDo: Close children(Source objects).
break;
default:
puts( “Detected unknown Event to the Module object.\n“ );
}
}
//------------------------------------------------------------------------------------------------------------------------------------
void CALLPASCAL CALLBACK SrcEventProc( NKREF refProc ULONG ulEvent NKPARAM data )
{
BOOL bRet;
LPRefObj pRefParent = (LPRefObj)refProc pRefChild = NULL;
switch(ulE
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-03-09 14:35 D800 SDK\
目录 0 2012-03-09 14:35 D800 SDK\Command\
目录 0 2012-03-09 14:20 D800 SDK\Command\English\
目录 0 2012-03-09 14:30 D800 SDK\Command\Japanese\
目录 0 2012-03-09 14:35 D800 SDK\Module\
目录 0 2012-03-09 14:35 D800 SDK\Module\Mac\
目录 0 2012-03-09 14:39 D800 SDK\Module\Mac\Binary Files\
目录 0 2012-03-09 14:20 D800 SDK\Module\Mac\Documents\
目录 0 2012-03-09 14:20 D800 SDK\Module\Mac\Documents\English\
目录 0 2012-03-09 14:20 D800 SDK\Module\Mac\Documents\Japanese\
目录 0 2012-03-09 14:20 D800 SDK\Module\Mac\Header Files\
目录 0 2012-03-09 14:39 D800 SDK\Module\Mac\Sample Program\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Binary Files\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Documents\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Documents\English\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Documents\Japanese\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Header Files\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Sample Program\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Sample Program\win\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Sample Program\win\Debug\
目录 0 2012-03-09 14:20 D800 SDK\Module\Win\Sample Program\win\Release\
文件 4337152 2012-02-14 15:51 D800 SDK\Command\English\D800UsbMtpE_01.doc
文件 930204 2012-03-09 14:39 D800 SDK\Module\Mac\Binary Files\Binary Files.zip
文件 70 2012-03-09 14:39 D800 SDK\Module\Mac\Binary Files\._Binary Files.zip
文件 5525504 2012-02-06 10:01 D800 SDK\Command\Japanese\D800UsbMtpJ_01.doc
文件 532799 2012-02-20 17:45 D800 SDK\Module\Mac\Documents\English\MAID3(E).pdf
文件 618195 2012-02-20 17:45 D800 SDK\Module\Mac\Documents\English\MAID3Type0006(E).pdf
文件 113883 2012-02-20 17:46 D800 SDK\Module\Mac\Documents\English\Type0006 Sample Guide(E).pdf
文件 129091 2012-02-20 17:46 D800 SDK\Module\Mac\Documents\English\Usage of Type0006 Module(E).pdf
文件 706932 2012-02-20 17:46 D800 SDK\Module\Mac\Documents\Japanese\MAID3(J).pdf
............此处省略40个文件信息
- 上一篇:server-U破解版
- 下一篇:OpenCV测试工程
相关资源
- 美松打印机SDK MsPrintSDK-Demo-DLL-CShare-
- S32K144 和S32K SDK开发入门培训.pdf
- 虚拟摄像头VCam开发SDK
- 整理的ModbusProtocol SDK开发包
- WinCE_6.0_中文SDK(仿真器模拟器)
- silverlight4 SDK
- N76E003开发资料最新SDK参考代码
- rockchip rv1108和rk3288资料,淘宝28买的
- 海康摄像头+web3.0开发包SDK的demo
- 海康SDK delphi demo
- 海康sdk说明书 二次开发参考
- 企业微信JS-SDK调试工具
- 人脸识别开源SDK源码
- NVIDIAOpticalFlowSDK-79c6cee80a2df9a196f20afd6
- delphi百度人脸识别离线SDK demo
- 汉王人脸通sdk v3.0 delphi demo
- 汉王考勤机开发指南HANVON SDK 20141119
- 撸大师死灰复燃SDK,可常驻后台运行
- 精伦电子开发包最新开发包带网页插
- IDCardReader SDK.rar
- 精伦电子idr210 sdk
- 光阵通用高拍仪控件
- oaid_sdk_1.0.23.zip200578
- Nokia SDK 开发模拟器
- x86-sdk25-v89-x86-64 xp框架
- 基于FFMPEG SDK流媒体开发1---解码媒体文
- Mifare卡LockSDK V3.3酒管软件接口_160301
- 匿名设备标识符OAID调用 SDK版本号 o
- 佳能相机开发EDSDK_13.10.21_for_Windows.z
- 精伦身份证阅读器通用二次开发SDK
评论
共有 条评论