NET_DVR_RemoteControl

Implement remote control.

API Definition

BOOL NET_DVR_RemoteControl(
  LONG      lUserID,
  DWORD     dwCommand,
  LPVOID    lpInBuffer,
  DWORD     dwInBufferSize
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwCommand

[IN] Control commands. To realize different functions, the commands are different.

lpInBuffer

[IN] Input parameters, which vary with different control commands.

dwInBufferSize

[IN] Size of input parameters.

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.