NET_DVR_FindNextFile_V50

Get video files one by one after searching by time.

API Definition

LONG NET_DVR_FindNextFile_V50(
  LONG                     lFindHandle, 
  NET_DVR_FINDDATA_V50     pFindData
);

Parameters

lFindHandle

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

pFindData

[OUT] Search results, see details in the structure NET_DVR_FINDDATA_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

  • If you want to get all searched video files, you should repeatedly call this API.

  • You can also get the linked card No. of current video file and the information of whether the file is locked via this API.

  • Up to 4000 files can be searched for once.