Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
The USB_USER_ERROR_CODE enumeration lists the error codes that a USB user-mode request reports when it fails.
Syntax
typedef enum _USB_USER_ERROR_CODE {
UsbUserSuccess = 0,
UsbUserNotSupported,
UsbUserInvalidRequestCode,
UsbUserFeatureDisabled,
UsbUserInvalidHeaderParameter,
UsbUserInvalidParameter,
UsbUserMiniportError,
UsbUserBufferTooSmall,
UsbUserErrorNotMapped,
UsbUserDeviceNotStarted,
UsbUserNoDeviceConnected
} USB_USER_ERROR_CODE;
Constants
UsbUserSuccessValue: 0 The user request succeeded. |
UsbUserNotSupportedThe user request was not supported. |
UsbUserInvalidRequestCodeThe user request code was invalid. |
UsbUserFeatureDisabledThe feature that was specified by user request is disabled. |
UsbUserInvalidHeaderParameterThe user request contains an invalid header parameter. |
UsbUserInvalidParameterThe user request contains an invalid parameter. |
UsbUserMiniportErrorThe user request failed because of a miniport driver error. |
UsbUserBufferTooSmallThe user request failed because the data buffer was too small. |
UsbUserErrorNotMappedThe USB stack could not map the error to one of the errors that are listed in this enumeration. |
UsbUserDeviceNotStartedThe device was not started. |
UsbUserNoDeviceConnectedThe device was not connected. |
Requirements
| Requirement | Value |
|---|---|
| Header | usbuser.h (include Usbuser.h) |