NET_DVR_RESET_COUNTER_CFG

Parameter structure of statistics data clearing.

Structure Definition

struct{
  DWORD              dwSize;
  BYTE               byEnable;
  BYTE               byMode;
  BYTE               byRes1[2];
  NET_DVR_TIME_EX    struTime[MAX_DAYS/*7*/];
  BYTE               byRes[64];
}NET_DVR_RESET_COUNTER_CFG,*LPNET_DVR_RESET_COUNTER_CFG;

Members

dwSize

Structure size.

byEnable

Whether to enable statistics data clearing: 0-no, 1-yes.

byMode

Clearing mode: 0-scheduled, 1-manual.

byRes1

Reserved, set to 0.

struTime

Data cleared time, unit: hour, minute, second

byRes

Reserved, set to 0.

Remarks

When the clearing mode is 0, the device will automatically the data at the configured time point; when the clearing mode is 1, you should call clearing API to clear the data.