NET_DVR_STD_CONTROL

Input and output parameters structure of remote control.

Structure Definition

struct{
  LPVOID                     lpCondBuffer;
  DWORD                      dwCondSize;
  LPVOID                     lpStatusBuffer;
  DWORD                      dwStatusSize;
  BYTE                       byRes[64];
}NET_DVR_STD_CONTROL, *LPNET_DVR_STD_CONTROL;

Members

lpCondBuffer

Condition parameters (returned in structure or message), such as channel No., it can be set to null.

dwCondSize

Buffer size of condition parameters.

lpStatusBuffer

Status parameters (returned in XML_ResponseStatus), if control completed, this parameter will not be assigned, and it can be set to null if not required.

dwStatusSize

Buffer size of status parameter.

lpXmlBuffer

Data with XML format, it is valid only when byDataType is 1.

dwXmlSize

Size of data with XML format, when the control command is getting, it is the input and output parameters, and after getting completed, actual size will be returned; when setting, the actual data size equals to strlen((char*) lpXmlBuffer).

byDataType

Input or output parameter type: 0-structure, 1-message

byRes

Reserved, set to 0.

Remarks

For different control function (refers to the parameter dwCommand in the API NET_DVR_STDControl), the lpCondBuffer in this structure are different, see details in the typical applications.