NET_DVR_VALID_PERIOD_CFG

Expiry date configuration structure.

Structure Definition

struct{
  BYTE             byEnable;
  BYTE             byBeginTimeFlag;
  BYTE             byEnableTimeFlag;
  BYTE             byTimeDurationNo;
  NET_DVR_TIME_EX  struBeginTime;
  NET_DVR_TIME_EX  struEndTime;
  BYTE             byTimeType;
  BYTE             byRes2[32];
}NET_DVR_VALID_PERIOD_CFG,*LPNET_DVR_VALID_PERIOD_CFG;

Members

byEnable

Whether to enable the expiry date: 0-no, 1-yes.

byBeginTimeFlag

Whether to enable the flag to limit the start time: 0-no, 1-yes.

byEnableTimeFlag

Whether to enable the flag to limit the end time: 0-no, 1-yes.

byTimeDurationNo

Expiry date index No., which starts from 0.

struBeginTime

Start time of the expiry date, see details in the structure NET_DVR_TIME_EX.

struEndTime

End time of the expiry date, see details in the structure NET_DVR_TIME_EX..

byTimeType

Time type: 0-device's local time (default), 1-UTC time. This member is valid for struBeginTime and struEndTime.

byRes2

Reserved, set to 0.