NET_DVR_ACS_ALARM_INFO

Structure about Access Control Alarm/Event Information

Member

Data Type

Description

dwSize

DWORD

Structure size.

dwMajor

DWORD

Major alarm/event types, see details in Access Control Event Types.

dwMinor

DWORD

Minor alarm/event types, see details in Access Control Event Types.

struTime

NET_DVR_TIME

Alarm time information.

sNetUser

Array [BYTE]

User name for network operation. The maximum size is 16 bytes (the value of the macro definition "MAX_NAMELEN").

struRemoteHostAddr

NET_DVR_IPADDR_UNION

IP address of the remote access controller.

struAcsEventInfo

NET_DVR_ACS_EVENT_INFO

Access control event details.

dwPicDataLen

DWORD

Picture size, 0: no picture, non-0: picture data exist.

pPicData

char*

Picture data.

wInductiveEventType

WORD

Inductive event type, 0-invalid. The alarm event types will be distinguished according to the inductive event type if wInductiveEventType is not 0; otherwise, the alarm event types will be distinguished according to dwMajor and dwMinor.

byPicTransType

BYTE

Picture data transmission mode: 0-binary, 1-URL.

byRes1

BYTE

Reserved.

dwIOTChannelNo

DWORD

IOT channel No.

pAcsEventInfoExtend

char*

When byAcsEventInfoExtend is set to 1, it points to the structure NET_DVR_ACS_EVENT_INFO_EXTEND.

byAcsEventInfoExtend

BYTE

Whether pAcsEventInfoExtend is valid: 0-no, 1-yes.

byTimeType

BYTE

Time type: 0-device's local time, 1-UTC time (it is the same as struTime).

byRes2

BYTE

Reserved.

byAcsEventInfoExtendV20

BYTE

Whether the member pAcsEventInfoExtendV20 is valid: 0-invalid, 1-valid. If this member is valid, the member byAcsEventInfoExtend must be valid.

pAcsEventInfoExtendV20

char*

When byAcsEventInfoExtendV20 is set to 1, it points to the structure NET_DVR_ACS_EVENT_INFO_EXTEND_V20.

byRes

Array [BYTE]

Reserved, set to 0. The maximum size is 4 bytes.