DWC_NdGetProgress

Syntax

#include <dwc.h>

BOOL DWC_NdGetProgress(u32 *received,
                       u32 *contentlen);

Arguments

received Pointer to the region that stores the number of bytes already downloaded.
contentlen Pointer to the region that stores the total size of the file.

Return Values

TRUE Successful.
FALSE Failed or there is no download process currently running.

Description

Gets the progress status of the file download that is currently running.

Gets the download progress status of the DWC_NdGetFileListNumAsync, DWC_NdGetFileListAsync, and DWC_NdGetFileAsync functions. Zero is written to the region specified by contentlen when the total content length of the file currently being downloaded is unknown.

Revision History

1.4.7
Added a description of usage.

CONFIDENTIAL