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_REC_FILE

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    typedef struct _net_sdk_rec_file
    {
        DWORD dwChannel;
        DWORD bFileLocked;
        DD_TIME startTime;
        DD_TIME stopTime;
        DWORD dwRecType;
        DWORD dwPartition;
        DWORD dwFileIndex;
    } NET_SDK_REC_FILE;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_REC_FILE
    {
        public UInt32 dwChannel;
        public UInt32 bFileLocked;
        public DD_TIME startTime;
        public DD_TIME stopTime;
        public UInt32 dwRecType;
        public UInt32 dwPartition;
        public UInt32 dwFileIndex;
    }

### Function Description

Video file information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
dwChannel | DWORD | Channel number.
bFileLocked | DWORD | Whether the video file is locked.
startTime | `DD_TIME` | Start time.
stopTime | `DD_TIME` | Stop time.
dwRecType | DWORD | Recording event type, refer to `DD_RECORD_TYPE`.
dwPartition | DWORD | Record file segmentation.
dwFileIndex | DWORD | Video file index.

Error Code