#include <dwc.h>
typedef void(*) DWCSuspendCallback(DWCSuspendResult result,
BOOL suspend,
void *data);result |
Result of the suspend process. DWC_SUSPEND_SUCCESS: Succeeded and the suspend state changed to suspend.Other than DWC_SUSPEND_SUCCESS indicates that suspend processing failed. |
suspend |
TRUE: Acceptance denied state.FALSE: Acceptance permitted state.Passes the value specified in the DWC_RequestSuspendMatchAsync function, unchanged. |
data |
Callback parameter. |
None.
This function is specified in the DWC_RequestSuspendMatchAsync function and called when the suspend process has completed. When result is DWC_SUSPEND_SUCCESS, the suspend state is suspend. When result is not DWC_SUSPEND_SUCCESS, suspend processing has failed, but (for reference) the value passed to DWC_RequestSuspendMatchAsync is passed in suspend unchanged.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL