Get the file downloading progress and status.
LONG NET_DVR_GetDownloadState( LONG lDownloadHandle, DWORD *pProgress );
[IN] Handle for downloading files, which is returned by NET_DVR_StartDownload.
[OUT] Returned progress value, which is ranging from 1 to 100.
Returns -1 for calling failed, and returns other values as the downloading status codes: 1-Downloaded, 2-Downloading, 3-Downloading Failed, 4-Network Disconnected, Unknown Status.
If returning failed, you can call NET_DVR_GetLastError to get the error code.