NET_DVR_FindNextAlarmHostLog

Search for the next security control panel log, i.e., get the searched log information of the security control panel one by one.

API Definition

LONG NET_DVR_FindNextAlarmHostLog(
  LONG                         lFindHandle, 
  NET_DVR_ALARMHOST_LOG_RET    *lpFindData
);

Parameters

lFindHandle

[IN] Handle for searching for logs, which is the value returned by NET_DVR_FindAlarmHostLog.

lpFindData

[OUT] Pointer of saving log information, see details in the structure NET_DVR_ALARMHOST_LOG_RET.

Return Values

Return -1 for failure, and return other values as the current getting status, see details in the following table.

Status

Value

Description

NET_DVR_FILE_SUCCESS

1000

Getting log information succeeded.

NET_DVR_FILE_NOFIND

1001

No log found.

NET_DVR_ISFINDING

1002

Searching. Please wait.

NET_DVR_NOMOREFILE

1003

No more log found. Searching ended.

NET_DVR_FILE_EXCEPTION

1004

Searching exception.

If -1 is returned, you can call NET_DVR_GetLastError to get the error code.

Remarks

Before getting the searched logs by calling this API, you should call NET_DVR_FindAlarmHostLog to get the current search handle.