DWCNdCallback

Definition


#include <nd/dwc_nd.h>

typedef void (*DWCNdCallback)( DWCNdCallbackReason reason,
                               DWCNdError error,
                               int servererror );
				

Description

The pointer type for the notification callback function to be called by the download library.

Do not call DWC_NdCleanupAsync from inside this function.

Arguments

reason Type of process that was executing when the notification callback function was called.
error Error status when the notification callback function was called.
servererror Error code from the server.
A value of -1 is assigned in the case of callbacks unrelated to a server error.

Return Values

None.

See Also

DWC_NdInitAsync
DWC_NdCleanupAsync
DWCNdCallbackReason
DWCNdError

Revision History

2006/08/25 Added a note.
2006/04/26 Initial version.


CONFIDENTIAL