#include <nd/dwc_nd.h>
BOOL DWC_NdGetFileAsync( DWCNdFileInfo *fileinfo, char *buf, unsigned int buflen )
Starts file downloading. The process fails if communications with the download server are already taking place.
When the download process has completed, the callback function specified by DWC_NdInitAsync is called.
Allocate at least 128 bytes of buffer space for the buffer where downloaded data is written, regardless of the size of the data to download.
fileinfo |
Pointer to the file information for the download target. |
buf |
Pointer to the buffer where downloaded data will be written. |
buflen |
Size of the buffer where downloaded data will be written. (128 byte minimum) |
TRUE |
Successful. A callback function is called when the download has completed. |
FALSE |
Failure Be sure to get error information using the DWC_GetLastErrorEx function. |
DWC_NdInitAsync, DWC_GetLastErrorEx
2006/08/30 Corrected errors.
2006/06/22 Set the minimum buffer size for downloaded data.
2006/02/26 Initial version.
CONFIDENTIAL