NET_DVR_FILECOND_V50

File search condition structure.

Structure Definition

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;

Memebers

struStreamID

Stream ID or channel No., see details in the structure of NET_DVR_STREAM_INFO.

struStartTime

Start time, see details in the structure of NET_DVR_TIME_SEARCH_COND.

struStopTime

End time, see details in the structure of NET_DVR_TIME_SEARCH_COND.

byFindType

File storage type for search: 0-search in normal volume, 1-search in storage volume, 2-search in N+1 hot spare.

byDrawFrame

Whether to extract the frame: 0-no, 1-yes.

byQuickSearch

Whether to enable searching by calendar: 0-no, 1-yes.

byStreamType

Stream types: 0-main stream, 1-sub-stream, 2-third stream, 0xff-all.

dwFileType

File types.

dwVolumeNum

Storage volume No., it is valid only when byFindType is 1.

byIsLocked

Whether to lock the file: 0-no, 1-yes, 0xff-lock or unlock all files.

byNeedCard

Whether the card search is required: 0-no, 1-yes.

byOnlyAudioFile

Audio or video file: 0-video file, 1-audio file.

bySpecialFindInfoType

Search condition type: 0-invalid, 1-search files with ATM information

szCardNum

Card No.,it is valid only when byNeedCard is 1.

szWorkingDeviceGUID

Working station GUID, which is obtained from N+1 hot spare, it is valid only when byFindType is 2.

uSpecialFindInfo

Specific search condition union, see details in NET_DVR_SPECIAL_FINDINFO_UNION.

dwTimeout

Timeout time of searching for files, value range: [5000,15000], 0-no changes of timeout time. Unit: millisecond.

byRes

Reserved.

Remarks

For login based on ISAPI protocol, only the continuously recorded video can be searched.