Skip to content

DD_LOG_INFO,LP_DD_LOG_INFO

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
typedef struct _dd_log_info_
{
    unsigned int majorType; 
    unsigned int minorType; 
    unsigned int time;      
    unsigned int IP;        
    char name[36];          
    DD_TIME localTime;      
    unsigned int infoLen;   
    char info[1024];        
} DD_LOG_INFO, * LP_DD_LOG_INFO;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_LOG_INFO
{
    public UInt32 majorType;
    public UInt32 minorType;
    public UInt32 time;
    public UInt32 IP;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 36)]
    public byte[] name;
    public DD_TIME localTime;
    public UInt32 infoLen;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 1024)]
    public byte[] info;
}

Function Description

Log information structure.

Member Description

Member Type Remark
majorType unsigned int Main type. For the value, refer to DD_LOG_CONTENT.
minorType unsigned int Subtype, refer to DD_LOG_TYPE for its value.
time unsigned int The time when this log occurs.
IP unsigned int The user IP when the log was generated.
name char[36] The user name corresponding to this log.
localTime DD_TIME The local time of the device will be filled in later.
infoLen unsigned int Length of log information.
info char[1024] Log information data.
Error Code