• 大小: 24.22MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-08
  • 语言: 其他
  • 标签: EDSDK  

资源简介

佳能数码相机的开发工具箱EDSDK,包含头文件和动态链接库

资源截图

代码片段和文件信息

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

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-09-04 14:49  Windows\Document\
     文件     1889681  2013-08-19 07:57  Windows\Document\EDSDK_API.pdf
     目录           0  2013-09-04 14:48  Windows\EDSDK\
     目录           0  2013-09-04 14:48  Windows\EDSDK\Dll\
     文件     8224768  2013-05-23 11:51  Windows\EDSDK\Dll\DPPDLL.dll
     文件      133120  2013-05-10 03:37  Windows\EDSDK\Dll\DPPLibCom.dll
     文件     2690560  2013-03-26 02:34  Windows\EDSDK\Dll\DPPRSC.dll
     文件      483328  2013-08-19 05:15  Windows\EDSDK\Dll\EDSDK.dll
     文件     1064960  2012-11-20 02:25  Windows\EDSDK\Dll\EdsImage.dll
     目录           0  2013-09-04 14:49  Windows\EDSDK\Dll\icc\
     文件       92202  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_F.BIN
     文件       87831  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_faf.BIN
     文件      104098  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_L.BIN
     文件       87636  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_lnd.BIN
     文件       90595  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_N.BIN
     文件       87298  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_ntl.BIN
     文件       93502  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_P.BIN
     文件       88377  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_ptr.BIN
     文件       94796  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_S.BIN
     文件       87263  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1001_std.BIN
     文件      101856  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_F.BIN
     文件       96516  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_faf.BIN
     文件      108256  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_L.BIN
     文件       93049  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_lnd.BIN
     文件      102235  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_N.BIN
     文件       96476  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_ntl.BIN
     文件      104120  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_P.BIN
     文件       90607  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_ptr.BIN
     文件      101154  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_S.BIN
     文件       92694  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1011_std.BIN
     文件       98077  2009-11-04 06:10  Windows\EDSDK\Dll\icc\1021_F.BIN
............此处省略602个文件信息

评论

共有 条评论