📄 cdtype.bas
字号:
Public Const cdBASE_IMG_PROP_NEED_DEVELOP = &H8
' /* Indicates that the data needs development.
' If this property is TRUE, client applications should develop
' the data by CDGetDevelopedImageData().
' Attribute : Read only
' Size/Type : sizeof(cdBoolean) / cdBoolean
' */
Public Const cdBASE_IMG_PROP_FRAME_RATE = &H9
' /* Flame rate (flames/sec)
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdBASE_IMG_PROP_TOTAL_FRAME = &HA
' /* The number of total frames.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdBASE_IMG_PROP_CREATOR_VERSION = &HB
' /* Creator version that is the version number of the movie
' file generated by the Canon Digital Camera.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' */
Public Const cdBASE_IMG_PROP_SOUND_DURATION = &HC
' /* The duration in seconds.
' Attribute : Read only
' Size/Type : 4 / cdFloat
' */
Public Const cdBASE_IMG_PROP_SAMPLING_FREQUENCY = &HD
' /* The number of samples per second.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
Public Const cdBASE_IMG_PROP_SOUND_CHANNELS = &HE
' /* The number of interleaved channels.
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdBASE_IMG_PROP_BITS_PER_SAMPLE = &HF
' /* The number of bits per sample.
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' */
Public Const cdBASE_IMG_PROP_COMPRESSION_RATIO = &H10
' /* The compression ratio compared to 24-bit RGB.
' Attribute : Read only
' Size/Type : 4 / cdFloat
' */
Public Const cdBASE_IMG_PROP_COMPRESSION_TYPE = &H11
' /* The type of compression used on the image data.
' Attribute : Read only
' Size/Type : 1 / cdCompressionType
' */
Public Const cdBASE_IMG_PROP_ROTATION_ANGLE = &H1800
' /* Rotation angle. (0, 90, 180, 270)
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
'/* cdDevicePropertyID
'*/
Public Const cdDEVICE_PROP_INVALID = &HFFFFFFFF
' /* Invalid ID
' */
Public Const cdDEVICE_PROP_MODEL_ID = &H1
' /* Camera model ID.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
Public Const cdDEVICE_PROP_MODEL_NAME = &H2
' /* Camera model name.
' Attribute : Read only
' Size/Type : 32 / cdChar[32]
' */
Public Const cdDEVICE_PROP_SLIDE_SHOW_CAP = &H3
' /* Slide show capacity.
' Attribute : Read only
' Size/Type : sizeof(cdSlideShowCap) / cdSlideShowCap
' */
Public Const cdDEVICE_PROP_UPLOAD_FILE_CAP = &H4
' /* AddPicture suport.
' Attribute : Read only
' Size/Type : sizeof(cdBoolean) / cdBoolean
' Values:
' TRUE : The device supports the CDAddPicture.
' FALSE: The device does not support the CDAddPicture.
' */
Public Const cdDEVICE_PROP_ROTATION_CAP = &H5
' /* Image rotation suport.
' Attribute : Read only
' Size/Type : sizeof(cdBoolean) / cdBoolean
' Values:
' TRUE : The device supports the image rotation function.
' FALSE: The device does not support the image rotation function.
' */
Public Const cdDEVICE_PROP_DPOF_CAP = &H6
' /* DPOF version number supported by the device.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' */
Public Const cdDEVICE_PROP_THUMB_VALID_AREA = &H7
' /* Valid area in the DCF thumbnail data.
' Attribute : Read only
' Size/Type : /
' */
Public Const cdDEVICE_PROP_RELEASE_CONTROL_CAP = &H8
' /* Remote release control capacity.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' Meaning:
' If 0x40000000 bit is set, the camera supports the remote release control functions.
' */
Public Const cdDEVICE_PROP_RAW_DEVELOP_FACULTIES = &H9
' /* RAW file specification generated by the device.
' Attribute : Read only
' Size/Type : sizeof(cdRawDevelopFaculty) / cdRawDevelopFaculty
' */
Public Const cdDEVICE_PROP_PARSE_FACULTIES = &HA
' /* File parser faculty.
' Attribute : Read only
' Size/Type : sizeof(cdParseFaculty) / cdParseFaculty
' */
Public Const cdDEVICE_PROP_OWNER_NAME = &H800000C
' /* Owner's name.
' Attribute : Read / Write
' Size/Type : 32 / cdChar[32]
' */
Public Const cdDEVICE_PROP_TIME = &H800000D
' /* Time set in the device.
' Attribute : Read / Write
' Size/Type : 4 / cdTime
' */
Public Const cdDEVICE_PROP_FIRMWARE_VERSION = &HE
' /* Firmware version in the device.
' Attribute : Read only
' Size/Type : 32 / cdChar[32]
' */
Public Const cdDEVICE_PROP_BATTERY_STATUS = &HF
' /* Battery status of the device.
' Attribute : Read only
' Size/Type : 4 / cdUInt32
' Values:
' Refer to the description of the cdEVENT_BATTERY_LEVEL_CHANGED event
' in the cdEvent.h.
' */
'/*-----------------------------------------------------------------------
' Constants for remote release control
'------------------------------------------------------------------------*/
'/* cdRelCamSettingID
'*/
Public Const cdREL_SET_SELF_TIMER = &H1
' /* Self timer setting. This value is valid when drive mode value get by
' CDGetDriveMode is cdDRIVE_MODE_SELFTIMER.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' Values:
' 0 : No self timer shooting
' 100 : Self timer shooting (10sec).
' 0xffff: Invalid
' */
Public Const cdREL_SET_BEEP = &H8000002
' /* Beep setting.
' Attribute : Depends on the camera model.
' Size/Type : 1 / cdUInt8
' Values:
' 0: off 1: on =&Hff:Invalid
' */
Public Const cdREL_SET_EZOOM = &H3
' /* Digital Teleconverter.
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' Values:
' 0 : No teleconverter.
' 1 : Continuous (Smooth)
' 0xff: Invalid
' */
Public Const cdREL_SET_MLWEI_MODE = &H8000004
' /* Measure light weight mode.
' Attribute : Depends on the camera model.
' Size/Type : 1 / cdUInt8
' Values: */
Public Const cdREL_VAL_MLWEI_MODE_CENTER_WEI_AVERAGE = 0 '/* Center-weighted averaging */
Public Const cdREL_VAL_MLWEI_MODE_SPOT = 1 '/* Spot */
Public Const cdREL_VAL_MLWEI_MODE_AVERAGE = 2 '/* Averaging */
Public Const cdREL_VAL_MLWEI_MODE_EVALUATIVE = 3 '/* Evaluative */
Public Const cdREL_VAL_MLWEI_MODE_PART = 4 '/* Partial */
Public Const cdREL_VAL_MLWEI_MODE_CENTER_WEI_AVERAGE_2 = 5 '/* Center-weighted averaging */
Public Const cdREL_VAL_MLWEI_MODE_UNKNOWN = &HFF '/* Invalid */
Public Const cdREL_SET_FOCUS_POINT = &H8000005
' /* Measure light weight mode.
' Attribute : Depends on the camera model.
' Size/Type : 2 / cdUInt16
' Meaning:
' Upper 4bits is 0: Means this value is invalid.
' Upper 4bits is 1: Means center focus point selection.
' Upper 4bits is 3: Means 3 points focus selection. Checks lower 12bits
' further;
' 0: No focus point is selected.
' Manual focus point selection.
' 1: Automatic focus point selection.
' 2. Right focus point selection.
' 3. Center focus point selection.
' 4. Left focus point selection
' Useful definitions: */
' /* Upper 4bits */
Public Const cdREL_VAL_FOCUS_POINT_NA = &H0
Public Const cdREL_VAL_FOCUS_POINT_CENTER_ONLY = &H1000
Public Const cdREL_VAL_FOCUS_POINT_3_POINTS = &H3000
'/* Lower 12bits when cdFOCUS_POINT_3_POINTS */
Public Const cdREL_VAL_FOCUS_POINT_MF = &H0
Public Const cdREL_VAL_FOCUS_POINT_AUTO = &H1
Public Const cdREL_VAL_FOCUS_POINT_RIGHT = &H2
Public Const cdREL_VAL_FOCUS_POINT_CENTER = &H3
Public Const cdREL_VAL_FOCUS_POINT_LEFT = &H4
Public Const cdREL_VAL_FOCUS_POINT_AF_AUTO = cdREL_VAL_FOCUS_POINT_3_POINTS + cdREL_VAL_FOCUS_POINT_AUTO
Public Const cdREL_VAL_FOCUS_POINT_AF_RIGHT = cdREL_VAL_FOCUS_POINT_3_POINTS + cdREL_VAL_FOCUS_POINT_RIGHT
Public Const cdREL_VAL_FOCUS_POINT_AF_CENTER = cdREL_VAL_FOCUS_POINT_3_POINTS + cdREL_VAL_FOCUS_POINT_CENTER
Public Const cdREL_VAL_FOCUS_POINT_AF_LEFT = cdREL_VAL_FOCUS_POINT_3_POINTS + cdREL_VAL_FOCUS_POINT_LEFT
Public Const cdREL_SET_SLOW_SHUTTER = &H6
' /* Slow shutter setting
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' Values:
' 0 : off
' 1 : night scene
' 2 : on
' 3 : not existing
' 0xff: Invalid
' */
Public Const cdREL_SET_AF_MODE = &H7
' /* Fucus mode setting
' Attribute : Read only
' Size/Type : 1 / cdUInt8
' Values:
' 0 : One-Shot AF / Single AF
' 1 : AI Servo AF / Continuous AF
' 2 : AI Focus AF
' 3 : Manual Focus
' 0xff: Invalid
' */
Public Const cdREL_SET_CONTRAST = &H8000008
' /* Contrast setting
' Attribute : Depends on the camera model.
' Size/Type : 1 / cdInt8
' Values: */
Public Const cdREL_VAL_CONTRAST_LOW = -1 '/* Low */
Public Const cdREL_VAL_CONTRAST_NORMAL = 0 '/* Normal */
Public Const cdREL_VAL_CONTRAST_HIGH = 1 '/* High */
Public Const cdREL_VAL_CONTRAST_INVALID = &H7F '/* Invalid */
Public Const cdREL_SET_COLOR_GAIN = &H8000009
' /* Color saturation setting
' Attribute : Depends on the camera model.
' Size/Type : 1 / cdInt8
' Values: */
Public Const cdREL_VAL_COLOR_GAIN_LOW = -1 '/* Low */
Public Const cdREL_VAL_COLOR_GAIN_NORMAL = 0 '/* Normal */
Public Const cdREL_VAL_COLOR_GAIN_HIGH = 1 '/* High */
Public Const cdREL_VAL_COLOR_GAIN_INVALID = &H7F '/* Invalid */
Public Const cdREL_SET_SHARPNESS = &H800000A
' /* Sharpness setting
' Attribute : Depends on the camera model.
' Size/Type : 1 / cdInt8
' Values: */
Public Const cdREL_VAL_SHARPNESS_LOW = -1 '/* Low */
Public Const cdREL_VAL_SHARPNESS_NORMAL = 0 '/* Normal */
Public Const cdREL_VAL_SHARPNESS_HIGH = 1 '/* High */
Public Const cdREL_VAL_SHARPNESS_INVALID = &H7F '/* Invalid */
Public Const cdREL_SET_PARAMETER_SET = &HB
' /* Parameters Set information.
' Attribute : Read only
' Size/Type : 2 / cdUInt16
' Meaning:
' Lower 4bit: Means the current selection number of the parameter set
' in the camera.
' 0: Standard set.
' 1: Set 1
' 2: Set 2
' 3: Set 3
' bit4: Means if the standard parameter set is selectable.
' bit5: Means if the parameter set 1 is selectable
' bit6: Means if the parameter set 2 is selectable
' bit7: Means if the parameter set 3 is selectable
'
' 0 xffff: Invalid
' */
Public Const cdREL_SET_ISO_SPEED_RATINGS = &H800000C
' /* ISO speed setting.
' Attribute : Depends on the camera model.
' Size/Type : 2 / cdUInt16
' Values: */
Public Const cdREL_VAL_ISO_AUTO = &H0 '/* Auto */
Public Const cdREL_VAL_ISO_6 = &H28 '/* ISO 6 */
Public Const cdREL_VAL_ISO_8 = &H2B '/* ISO 8 */
Public Const cdREL_VAL_ISO_10 = &H2D '/* ISO 10 */
Public Const cdREL_VAL_ISO_12 = &H30 '/* ISO 12 */
Public Const cdREL_VAL_ISO_16 = &H33 '/* ISO 16 */
Public Const cdREL_VAL_ISO_20 = &H35 '/* ISO 20 */
Public Const cdREL_VAL_ISO_25 = &H38 '/* ISO 25 */
Public Const cdREL_VAL_ISO_32 = &H3B '/* ISO 32 */
Public Const cdREL_VAL_ISO_40 = &H3D '/* ISO 40 */
Public Const cdREL_VAL_ISO_50 = &H40 '/* ISO 50 */
Public Const cdREL_VAL_ISO_64 = &H43 '/* ISO 64 */
Public Const cdREL_VAL_ISO_80 = &H45 '/* ISO 80 */
Public Const cdREL_VAL_ISO_100 = &H48 '/* ISO 100 */
Public Const cdREL_VAL_ISO_125 = &H4B '/* ISO 125 */
Public Const cdREL_VAL_ISO_160 = &H4D '/* ISO 160 */
Public Const cdREL_VAL_ISO_200 = &H50 '/* ISO 200 */
Public Const cdREL_VAL_ISO_250 = &H53 '/* ISO 250 */
Public Const cdREL_VAL_ISO_320 = &H55 '/* ISO 320 */
Public Const cdREL_VAL_ISO_400 = &H58 '/* ISO 400 */
Public Const cdREL_VAL_ISO_500 = &H5B '/* ISO 500 */
Public Const cdREL_VAL_ISO_640 = &H5D '/* ISO 640 */
Public Const cdREL_VAL_ISO_800 = &H60 '/* ISO 800 */
Public Const cdREL_VAL_ISO_1000 = &H63 '/* ISO 1000 */
Public Const cdREL_VAL_ISO_1250 = &H65 '/* ISO 1250 */
Public Const cdREL_VAL_ISO_1600 = &H68 '/* ISO 1600 */
Public Const cdREL_VAL_ISO_2000 = &H6B '/* ISO 2000 */
Pub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -