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_BASIC_CONFIG

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    typedef struct _dd_basic_config_
    {
        unsigned int iSize;
        unsigned int videoFormat;
        unsigned int videoOut;
        unsigned int videoOutResolution;
        unsigned int VGARefresh;
        unsigned int screensaver;
        unsigned int deviceLanguage;
        unsigned int passwordCheck;
        unsigned int RecycleRecord;
        unsigned int videoFormatMask;
        unsigned int videoOutMask;
        unsigned int videoOutResolutionMask;
        unsigned int languageMask;
    } DD_BASIC_CONFIG;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_BASIC_CONFIG
    {
        public UInt32 iSize;
        public UInt32 videoFormat;
        public UInt32 videoOut;
        public UInt32 videoOutResolution;
        public UInt32 VGARefresh;
        public UInt32 screensaver;
        public UInt32 deviceLanguage;
        public UInt32 passwordCheck;
        public UInt32 RecycleRecord;
        public UInt32 videoFormatMask;
        public UInt32 videoOutMask;
        public UInt32 videoOutResolutionMask;
        public UInt32 languageMask;
    }

### Function Description

Basic configuration structure.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
videoFormat | unsigned int | Video format, refer to `DD_VIDEO_FORMAT` for the value.
videoOut | unsigned int | Video output device.
videoOutResolution | unsigned int | Output resolution, refer to `DD_VGA_RESOLUTION` for the value.
VGARefresh | unsigned int | VGA refresh rate.
screensaver | unsigned int | Screen saver duration (zero means off).
deviceLanguage | unsigned int | System language.
passwordCheck | unsigned int | Whether to enable password checking.
RecycleRecord | unsigned int | Whether to allow overwriting of recordings.
videoFormatMask | unsigned int | Supported video format mask (read-only), the value is the mask combination of `DD_VIDEO_FORMAT` definition data.
videoOutMask | unsigned int | Mask of supported video output devices (read-only).
videoOutResolutionMask | unsigned int | Supported video output device resolution mask (read-only), the value is the mask combination of `DD_VGA_RESOLUTION` definition data.
languageMask | unsigned int | Supported language mask (read-only).

Error Code