Jump to main content

##

# 3.2.4.12 USB_HOST_DeviceResume Function

## C

    USB_HOST_RESULT USB_HOST_DeviceResume(
        USB_HOST_DEVICE_OBJ_HANDLE deviceObjHandle
    );

## Summary

The function resumes the selected device. A device can be resumed only if it was suspended.

## Precondition

None.

## Parameters

Parameters | Description
deviceObjHandle | handle to the device to be resumed.

## Returns

USB_HOST_RESULT_SUCCESS - The request was accepted and the device will be resumed or the device was already resumed.

USB_HOST_RESULT_DEVICE_UNKNOWN - The request failed. The device may have been detached.

USB_HOST_RESULT_FAILURE - An unknown failure occurred.

## Remarks

None.