NET_DVR_SetSTDConfig

Set the device parameters.

API Definition

BOOL NET_DVR_SetSTDConfig(
  LONG                    lUserID,
  DWORD                   dwCommand,
  NET_DVR_STD_CONFIG      lpConfigParam
);

Parameters

lUserID

[IN] Value returned by NET_DVR_Login_V40.

dwCommand

[IN] Device configuration commands, which are different according to different configuration functions.

lpConfigParam

[IN][OUT] Set input and output parameters, which are different according to different configuration functions. For different configuration functions, the lpCondBuffer and lpInBuffer in the IpConfigParam are also different. See the structure NET_DVR_STD_CONFIG for details.

Note:

When getting configuration parameters, the lpOutBuffer in the lpConfigParam is invalid, you can set it to "NULL".

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.