File search condition structure.
struct{
NET_DVR_STREAM_INFO struStreamID;
NET_DVR_TIME_SEARCH_COND struStartTime;
NET_DVR_TIME_SEARCH_COND struStopTime;
BYTE byFindType;
BYTE byDrawFrame;
BYTE byQuickSearch;
BYTE byStreamType;
DWORD dwFileType;
DWORD dwVolumeNum;
BYTE byIsLocked;
BYTE byNeedCard;
BYTE byOnlyAudioFile;
BYTE bySpecialFindInfoType;
char szCardNum[32];
char szWorkingDeviceGUID[16];
NET_DVR_SPECIAL_FINDINFO_UNION uSpecialFindInfo;
DWORD dwTimeout;
BYTE byRes[252];
}NET_DVR_FILECOND_V50, *LPNET_DVR_FILECOND_V50;
Stream ID or channel No., see details in the structure of NET_DVR_STREAM_INFO.
Start time, see details in the structure of NET_DVR_TIME_SEARCH_COND.
End time, see details in the structure of NET_DVR_TIME_SEARCH_COND.
File storage type for search: 0-search in normal volume, 1-search in storage volume, 2-search in N+1 hot spare.
Whether to extract the frame: 0-no, 1-yes.
Whether to enable searching by calendar: 0-no, 1-yes.
Stream types: 0-main stream, 1-sub-stream, 2-third stream, 0xff-all.
File types.
Storage volume No., it is valid only when byFindType is 1.
Whether to lock the file: 0-no, 1-yes, 0xff-lock or unlock all files.
Whether the card search is required: 0-no, 1-yes.
Audio or video file: 0-video file, 1-audio file.
Search condition type: 0-invalid, 1-search files with ATM information
Card No.,it is valid only when byNeedCard is 1.
Working station GUID, which is obtained from N+1 hot spare, it is valid only when byFindType is 2.
Specific search condition union, see details in NET_DVR_SPECIAL_FINDINFO_UNION.
Timeout time of searching for files, value range: [5000,15000], 0-no changes of timeout time. Unit: millisecond.
Reserved.
For login based on ISAPI protocol, only the continuously recorded video can be searched.