NET_DVR_GetRemoteConfigState

Get the status of persistent connection.

API Definition

BOOL NET_DVR_GetRemoteConfigState(
  LONG    lHandle,
  void    *pState
);

Parameters

lHandle

[IN] Handle, which is returned by NET_DVR_StartRemoteConfig.

pState

[OUT] A 4-byte status value, the returned statuses are different according to different remote configuration commands

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.