NET_DVR_FindFile_V50

Search for video files by file type or by time.

API Definition

LONG NET_DVR_FindFile_V50(
  LONG                    lUserID,
  NET_DVR_FILECOND_V50    pFindCond
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

pFindCond

[IN] File information structure to be found, see details in the structure NET_DVR_FILECOND_V50.

Return Values

Returns TRUE for success, and returns FALSE for failure.

If FALSE is returned, you call NET_DVR_GetLastError to get the error code.

The following error codes may be returned by this API: 0, 2, 3, 4, 7, 8, 9, 10, 12, 17, 19, 23, 41, 43, 44, 47, 72, and 73. For error details, refer to Device Network SDK Errors.

Remarks

This API specifies the video files to be found. After calling this API, you can call NET_DVR_FindNextFile_V50 to get the file details.