NET_DVR_GetNextRemoteConfig

Get the next search result.

API Definition

LONG NET_DVR_GetNextRemoteConfig(
  LONG     lHandle,
  void     *lpOutBuff,
  DWORD    dwOutBuffSize
);

Parameters

lHandle

[IN] Search handle, which is the value returned by NET_DVR_StartRemoteConfig.

lpOutBuff

[OUT] Output parameter buffer pointer, which relates to the commands (dwCommand) of NET_DVR_StartRemoteConfig.

dwOutBuffSize

[IN] Buffer size.

Return Values

Returns -1 for failure, and returns other values for the current statuses, see details in the following table.

Status

Value

Description

NET_SDK_GET_NEXT_STATUS_SUCCESS

1000

The data is obtained. The API NET_DVR_GetNextRemoteConfig should be called again to get the next item of data.

NET_SDK_GET_NETX_STATUS_NEED_WAIT

1001

Waiting. The API NET_DVR_GetNextRemoteConfig can be called again.

NET_SDK_GET_NEXT_STATUS_FINISH

1002

All data is obtained. The API NET_DVR_StopRemoteConfig can be called to end.

NET_SDK_GET_NEXT_STATUS_FAILED

1003

Getting data exception. The API NET_DVR_StopRemoteConfig can be called to end.

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

Remarks

To get all information, you should call this API repeatedly.