Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_PTZ_PRESET_CONFIG

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    typedef struct _dd_ptz_preset_config_
    {
        unsigned int iSize;
        unsigned char enablePreset[DD_MAX_PRESET_NUM];
    } DD_PTZ_PRESET_CONFIG;

    1
    2
    3
    4
    5
    6
    7
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_PTZ_PRESET_CONFIG
    {
        public UInt32 iSize;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
        public byte[] enablePreset;
    }

### Function Description

PTZ preset point configuration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
enablePreset | unsigned char[DD_MAX_PRESET_NUM] | Preset point mask.

Error Code