Video intercom alarm information structure
struct{
DWORD dwSize;
NET_DVR_TIME_EX struTime;
BYTE byDevNumber[MAX_DEV_NUMBER_LEN/*32*/];
BYTE byAlarmType;
BYTE byRes1[3];
NET_DVR_VIDEO_INTERCOM_ALARM_INFO_UNION uAlarmInfo;
BYTE wLockID
BYTE byRes2[254];
}NET_DVR_VIDEO_INTERCOM_ALARM, *LPNET_DVR_VIDEO_INTERCOM_ALARM;
Structure size.
Alarm time, refer to the structure NET_DVR_TIME_EX for time format.
Device No.
Alarm type: 1-zone alarm, 2-tampering alarm, 3-duress alarm, 4-opening door by password failed for multiple times, 5-opening door failed, 6-closing door failed, 7-panic alarm), 8-intercom alarm, 9-smart lock: fingerprint duress alarm, 10-smart lock: password duress alarm, 11-smart lock: tampering alarm, 12-smart lock: locked alarm, 13-smart lock: low battery alarm, 14-blocklist alarm, 15-smart lock disconnected, 16-access control module: anti-tampering alarm, 17-video intercom started, 18-video intercom stopped.
Reserved, set to 0.
Alarm information, it is valid when byAlarmType equals to 1. Refer to the union NET_DVR_VIDEO_INTERCOM_ALARM_INFO_UNION for details.
Lock ID, it is valid when alarm type is 5 or 6. When the ID is 0, it represents the lock of door station, when the ID is 1, it represents the lock of external access control module.
Reserved, set to 0.