Search for the next security control panel log, i.e., get the searched log information of the security control panel one by one.
LONG NET_DVR_FindNextAlarmHostLog( LONG lFindHandle, NET_DVR_ALARMHOST_LOG_RET *lpFindData );
[IN] Handle for searching for logs, which is the value returned by NET_DVR_FindAlarmHostLog.
[OUT] Pointer of saving log information, see details in the structure NET_DVR_ALARMHOST_LOG_RET.
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.
Before getting the searched logs by calling this API, you should call NET_DVR_FindAlarmHostLog to get the current search handle.