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.

# NET_SDK_USB_BACKUP_PROCESS_EX

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct _usb_backup_process_ex
    {
        DD_TIME_EX startTime;
        DD_TIME_EX endTime;
        unsigned int dataSize;
        unsigned char backupPath[64];
        unsigned char creator[36];
        unsigned int progress;
        unsigned int backupFileFormat;
        unsigned int status;
        unsigned int eventType;
        unsigned char chls[64];
        unsigned int chlNum;
    } NET_SDK_USB_BACKUP_PROCESS_EX;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_USB_BACKUP_PROCESS_EX
    {
        public DD_TIME_EX startTime;
        public DD_TIME_EX endTime;
        public UInt32 dataSize;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] backupPath;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 36)]
        public byte[] creator;
        public UInt32 progress;
        public UInt32 backupFileFormat;
        public UInt32 status;
        public UInt32 eventType;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] chls;
        public UInt32 chlNum;
    }

### Function Description

Video backup to USB disk progress extension structure.

### Member Description

Member | Type | Remark
--- | --- | ---
startTime | `DD_TIME_EX` | The backup recording start time.
endTime | `DD_TIME_EX` | End time of backup recording.
dataSize | unsigned int | Backup file size in MB.
backupPath | unsigned char[64] | Backup path.
creator | unsigned char[36] | The backup task creator.
progress | unsigned int | Backup progress (0-100).
backupFileFormat | unsigned int | Backup format, refer to `USB_BACKUP_FORMAT`.
status | unsigned int | Backup status, refer to `USB_BACKUP_STATUS`.
eventType | unsigned int | Backup recording event type, refer to `DD_RECORD_TYPE`.
chls | unsigned char[64] | Backup channel.
chlNum | unsigned int | The actual number of backup channels.

Error Code