Input and output parameters structure of remote control.
struct{
LPVOID lpCondBuffer;
DWORD dwCondSize;
LPVOID lpStatusBuffer;
DWORD dwStatusSize;
BYTE byRes[64];
}NET_DVR_STD_CONTROL, *LPNET_DVR_STD_CONTROL;
Condition parameters (returned in structure or message), such as channel No., it can be set to null.
Buffer size of condition parameters.
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.
Buffer size of status parameter.
Data with XML format, it is valid only when byDataType is 1.
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).
Input or output parameter type: 0-structure, 1-message
Reserved, set to 0.
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.