NET_DVR_SendRemoteConfig

Send data via the persistent connection.

API Definition

BOOL NET_DVR_SendRemoteConfig(
  LONG     lHandle,
  DWORD    dwDataType,
  char     *pSendBuf,
  DWORD    dwBufSize
);

Parameters

lHandle

Persistent configuration handle, which is returned by NET_DVR_StartRemoteConfig.

dwDataType

[IN] Data type, which relates to the commands of NET_DVR_StartRemoteConfig.

pSendBuf

[IN] Buffer for saving data to be sent, which relates to dwDataType.

dwBufSize

[IN] Size of data to be sent.

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.

Remarks

Before calling this API, you must call NET_DVR_StartRemoteConfig to get the persistent connection handle.