#include <dwc.h>
typedef void(*) DWCNdCallback(DWCNdCallbackReason reason,
DWCNdError error,
int servererror);reason |
Type of process that was running when the notification callback function was called. |
error |
Error generated when the notification callback function was called. |
servererror |
Error code notified from the server. Takes -1 if the error value is not DWC_ND_ERROR_DLSERVER. |
None.
This is the type for notification callback functions that are called by the Download library. It sends notification of the result of the asynchronous process.
When the error parameter of this callback is other than DWC_ND_ERROR_NONE, get error information using the DWC_GetLastErrorEx function, display the error code and error message that corresponds to the error processing type, and quit the library.
Download library functions can be called from inside this callback.
DWC_NdProcess
DWC_NdInitAsync
DWC_NdCleanupAsync
DWCNdCallbackReason
DWCNdError
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL