NET_DVR_UploadSend

Send data.

API Definition

LONG NET_DVR_UploadSend(
  LONG                       lUploadHandle,
  LPNET_DVR_SEND_PARAM_IN    pstruSendParamIN,
  void                       *lpOutBuffer
);

Parameters

lUploadHandle

[IN] File uploading handle, returned by NET_DVR_UploadFile_V40.

pstruSendParamIN

[IN] Uploaded data. See the structure NET_DVR_SEND_PARAM_IN for details.

lpOutBuffer

[OUT] Output parameter, reserved, set to NULL

Return Value

Return 0 for success, and return -1 for failure.

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