佳能的EDSDK不开源,很难弄到,给志同道合的兄弟们分享一下,支持佳能最新出的相机!内有samplecode
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1765733 2016-09-06 14:55 DocumentEDSDK_API.pdf
文件 5585 2016-09-06 14:55 Document
eadme.txt
文件 3063 2016-09-06 14:55 DocumentReleaseNote.txt
文件 4683288 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDPPCore.dll
文件 7300632 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDppCoreSub.dll
文件 3207704 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDppCoreSubM.dll
文件 38226968 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDppMath.dll
文件 296984 2016-09-06 14:55 WindowsEDSDKDllDPP4LibEdsCFParse.dll
文件 1021464 2016-09-06 14:55 WindowsEDSDKDllDPP4LibEdsLRSC.dll
文件 2492 2016-09-06 14:55 WindowsEDSDKDllDPP4Libicc6000.ICC
文件 560 2016-09-06 14:55 WindowsEDSDKDllDPP4LibiccAdobeRGB.icc
文件 552 2016-09-06 14:55 WindowsEDSDKDllDPP4LibiccAppleRGB.icc
文件 860022 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6051_ALL.bin
文件 863430 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6061_ALL.bin
文件 857315 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6071_ALL.bin
文件 866689 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6081_ALL.bin
文件 535528 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6101_ALL.bin
文件 13598 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6151_ALL.bin
文件 11918 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6161_ALL.bin
文件 435504 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6171_ALL.bin
文件 1224095 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6181_ALL.bin
文件 1642592 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6191_ALL.bin
文件 1929240 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6201_ALL.bin
文件 1998068 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6211_ALL.bin
文件 12734 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6221_ALL.bin
文件 14766 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6231_ALL.bin
文件 11062 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6241_ALL.bin
文件 11062 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6251_ALL.bin
文件 12070 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6261_ALL.bin
文件 11230 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6262_ALL.bin
............此处省略800个文件信息
using System;
using System.Runtime.InteropServices;
namespace EDSDKLib
{
public class EDSDK
{
#region Callback Functions
public delegate uint EdsProgressCallback( uint inPercent IntPtr inContext ref bool outCancel);
public delegate uint EdsCameraAddedHandler(IntPtr inContext);
public delegate uint EdsPropertyEventHandler(uint inEvent uint inPropertyID uint inParam IntPtr inContext);
public delegate uint EdsobjectEventHandler( uint inEvent IntPtr inRef IntPtr inContext);
public delegate uint EdsStateEventHandler( uint inEvent uint inParameter IntPtr inContext);
#endregion
#region Data Types
public enum EdsDataType : uint
{
Unknown = 0
Bool = 1
String = 2
Int8 = 3
UInt8 = 6
Int16 = 4
UInt16 = 7
Int32 = 8
UInt32 = 9
Int64 = 10
UInt64 = 11
Float = 12
Double = 13
ByteBlock = 14
Rational = 20
Point = 21
Rect = 22
Time = 23
Bool_Array = 30
Int8_Array = 31
Int16_Array = 32
Int32_Array = 33
UInt8_Array = 34
UInt16_Array = 35
UInt32_Array = 36
Rational_Array = 37
FocusInfo = 101
PicturestyleDesc
}
#endregion
#region Property IDs
/*----------------------------------
Camera Setting Properties
----------------------------------*/
public const uint PropID_Unknown = 0x0000ffff;
public const uint PropID_ProductName = 0x00000002;
public const uint PropID_BodyIDEx = 0x00000015;
public const uint PropID_OwnerName = 0x00000004;
public const uint PropID_MakerName = 0x00000005;
public const uint PropID_DateTime = 0x00000006;
public const uint PropID_FirmwareVersion = 0x00000007;
public const uint PropID_BatteryLevel = 0x00000008;
public const uint PropID_CFn = 0x00000009;
public const uint PropID_SaveTo = 0x0000000b;
public const uint kEdsPropID_CurrentStorage = 0x0000000c;
public const uint kEdsPropID_CurrentFolder = 0x0000000d;
public const uint kEdsPropID_MyMenu = 0x0000000e;
public const uint PropID_BatteryQuality = 0x000000
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1765733 2016-09-06 14:55 DocumentEDSDK_API.pdf
文件 5585 2016-09-06 14:55 Document
eadme.txt
文件 3063 2016-09-06 14:55 DocumentReleaseNote.txt
文件 4683288 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDPPCore.dll
文件 7300632 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDppCoreSub.dll
文件 3207704 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDppCoreSubM.dll
文件 38226968 2016-09-06 14:55 WindowsEDSDKDllDPP4LibDppMath.dll
文件 296984 2016-09-06 14:55 WindowsEDSDKDllDPP4LibEdsCFParse.dll
文件 1021464 2016-09-06 14:55 WindowsEDSDKDllDPP4LibEdsLRSC.dll
文件 2492 2016-09-06 14:55 WindowsEDSDKDllDPP4Libicc6000.ICC
文件 560 2016-09-06 14:55 WindowsEDSDKDllDPP4LibiccAdobeRGB.icc
文件 552 2016-09-06 14:55 WindowsEDSDKDllDPP4LibiccAppleRGB.icc
文件 860022 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6051_ALL.bin
文件 863430 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6061_ALL.bin
文件 857315 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6071_ALL.bin
文件 866689 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6081_ALL.bin
文件 535528 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6101_ALL.bin
文件 13598 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6151_ALL.bin
文件 11918 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6161_ALL.bin
文件 435504 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6171_ALL.bin
文件 1224095 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6181_ALL.bin
文件 1642592 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6191_ALL.bin
文件 1929240 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6201_ALL.bin
文件 1998068 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6211_ALL.bin
文件 12734 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6221_ALL.bin
文件 14766 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6231_ALL.bin
文件 11062 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6241_ALL.bin
文件 11062 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6251_ALL.bin
文件 12070 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6261_ALL.bin
文件 11230 2016-09-06 14:55 WindowsEDSDKDllDPP4Libiccin6262_ALL.bin
............此处省略800个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)