DWCSuspendCallback

Syntax

#include <dwc.h>

typedef void(*) DWCSuspendCallback(DWCSuspendResult result,
             BOOL suspend,
             void *data);

Arguments

result Result of the suspend process.
DWC_SUSPEND_SUCCESS: The suspend state finalized as the state specified in suspend.
Other than DWC_SUSPEND_SUCCESS: The suspend process failed.
suspend TRUE: Acceptance denied state.
FALSE: Acceptance permitted state.
Passes the value specified in the DWC_RequestSuspendMatchAsync function, unchanged.
data Callback parameter.

Return Values

None.

Description

This function is specified in the DWC_RequestSuspendMatchAsync function and called after 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 will be passed in suspend unchanged.

See Also

DWC_RequestSuspendMatchAsync

Revision History

2.0.0
Initial addition.

CONFIDENTIAL