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_Ex

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    typedef struct _dd_ptz_preset_config_ex_
    {
        unsigned int channel;
        unsigned int presetIndex;
        unsigned char presetName[64];
    } DD_PTZ_PRESET_CONFIG_Ex;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_PTZ_PRESET_CONFIG_Ex
    {
        public UInt32 channel;
        public UInt32 presetIndex;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] presetName;
    }

### Function Description

Preset point configuration.

### Member Description

Member | Type | Remark
--- | --- | ---
channel | unsigned int | Channel, starting from 0.
presetIndex | unsigned int | Preset point subscript.
presetName | unsigned char[64] | Preset point name.

Error Code