#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.
filename |
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. Use the DWC_GetLastError function to get the error information. |
DWC_NdInitAsync, DWC_GetLastError
06/22/2006 Set the minimum buffer size for downloaded data.
02/26/2006 Initial version.
CONFIDENTIAL