#include <nd/dwc_nd.h>
BOOL DWC_NdGetFileAsync( DWCNdFileInfo *fileinfo, char *buf, unsigned int buflen )
Starts file downloading. The process fails if communication with the Download server is already in progress.
When the download process has completed, the callback function specified by DWC_NdInitAsync is called.
Regardless of the size of data to download, allocate at least 128 bytes of buffer space for the buffer where downloaded data is written.
fileinfo |
Pointer to the file information for the download target. |
buf |
Pointer to the buffer where downloaded data is written. |
buflen |
Size of the buffer where downloaded data is written (128 byte minimum). |
TRUE |
Success. A callback function is called when the download has completed. |
FALSE |
Failure. Use the DWC_GetLastErrorEx function to get the error information. |
DWC_NdInitAsync
DWC_GetLastErrorEx
2006/08/30 Corrected errors.
2006/6/22 Set the minimum buffer size for downloaded data.
2006/04/26 Initial version.
CONFIDENTIAL