NET_DVR_FindNextEvent_V50

Get video files one by one after searching by event.

API Definition

LONG NET_DVR_FindNextEvent_V50(
  LONG                            lFindHandle, 
  NET_DVR_SEARCH_EVENT_RET_V50    lpSearchEventRet
);

Parameters

lFindHandle

[IN] Handle for playback, which is returned by NET_DVR_FindFileByEvent_V50.

lpSearchEventRet

[OUT] Search results, see details in the structure NET_DVR_SEARCH_EVENT_RET_V50.

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 file information succeeded.

NET_DVR_FILE_NOFIND

1001

No file found.

NET_DVR_ISFINDING

1002

Searching. Please wait.

NET_DVR_NOMOREFILE

1003

No more file found. Search ended.

NET_DVR_FILE_EXCEPTION

1004

Search exception.

NET_DVR_FIND _TIMEOUT

1005

Search timed out.

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

Remarks

The video files searched by event only support playback by time.