Skip to content

NET_SDK_LOG,LPNET_SDK_LOG

Structure Definition

1
2
3
4
5
6
7
8
9
typedef struct _net_sdk_log
{
    DD_TIME strLogTime;            
    DWORD dwMajorType;             
    DWORD dwMinorType;             
    char sNetUser[MAX_NAMELEN];    
    DWORD dwRemoteHostAddr;        
    char sContent[MAX_CONTENTLEN]; 
} NET_SDK_LOG, * LPNET_SDK_LOG;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct NET_SDK_LOG
{
    public DD_TIME strLogTime;
    public UInt32 dwMajorType;
    public UInt32 dwMinorType;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 36)]
    public byte[] sNetUser;
    public UInt32 dwRemoteHostAddr;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 512)]
    public byte[] sContent;
}

Function Description

Device log information structure.

Member Description

Member Type Remark
strLogTime DD_TIME Log time.
dwMajorType DWORD Main types.
dwMinorType DWORD Minor type.
sNetUser char[MAX_NAMELEN] Internet user.
dwRemoteHostAddr DWORD The remote host address.
sContent char[MAX_CONTENTLEN] More information.
Error Code