NET_DVR_STDControl

Control remotely.

API Definition

BOOL NET_DVR_STDControl(
  LONG                     lUserID,
  DWORD                    dwCommand,
  LPNET_DVR_STD_CONTROL    lpControlParam
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwCommand

[IN] Control commands.

lpControlParam

[IN][OUT] Input parameters and output parameters of remote control. The parameters are different according to different control commands, see details in the structure of NET_DVR_STD_CONTROL.

Return Values

Returns TRUE for success, and returns FALSE for failure.

If FALSE is returned, you can call NET_DVR_GetLastError to get the error code.