usbhosterrors.h File Reference

const TInt KErrUsbUnsupportedDevice

const TInt KErrUsbUnsupportedDevice

The device is unsupported- the FDF will not attempt to load drivers for it.

const TInt KErrUsbDriverLoadingDisabled

const TInt KErrUsbDriverLoadingDisabled

Driver loading has not been enabled.

const TInt KErrUsbConfigurationHasNoInterfaces

const TInt KErrUsbConfigurationHasNoInterfaces

The configuration descriptor's NumInterfaces is 0.

const TInt KErrUsbInterfaceCountMismatch

const TInt KErrUsbInterfaceCountMismatch

The configuration descriptor's NumInterfaces does not equal the actual number of (alternate 0) interface descriptors in the configuration bundle.

const TInt KErrUsbFunctionDriverNotFound

const TInt KErrUsbFunctionDriverNotFound

A Function Driver was not found for at least one interface in the device's selected configuration.

const TInt KErrUsbDuplicateInterfaceNumbers

const TInt KErrUsbDuplicateInterfaceNumbers

Two of the interfaces in the configuration bundle have the same interface numbers.

const TInt KErrUsbBadDescriptor

const TInt KErrUsbBadDescriptor

A Function Driver has found a problem with the device's descriptors. Such problems include (non-exhaustively) formatting or layout of Class-specific descriptors and alternate interface numbering.

const TInt KErrUsbDeviceDetachedDuringDriverLoading

const TInt KErrUsbDeviceDetachedDuringDriverLoading

While FDF was busy trying to load FDs the current attached device has been detached by USBDI (physically unplugged or was draining too much current)

const TInt KErrUsbAttachmentFailureGeneralError

const TInt KErrUsbAttachmentFailureGeneralError

During an attachment failure, FDF receives an error from USBDI If the error is not a known expected error then FDF will report it with the following error code -6628, as a KErrUsbAttachmentFailureGeneralError

const TInt KErrUsbUnableToUpdateFDProxyList

const TInt KErrUsbUnableToUpdateFDProxyList

If a Function Driver or Function Driver upgrade is installed or uninstalled then the FDF receives notification of this from ECom and will update its list of Function Driver Proxies accordingly. This may involve an allocation which therefore may fail however there is no point in the FDF propegating this failure (via a leave) back up the call stack as the originator is ECom. In the event that the FDF does encounter OOM then its list of proxy function drivers will be out of date, this error code indicates such a situation.