\r
@retval EFI_SUCCESS The request executed successfully.\r
@retval EFI_OUT_OF_RESOURCES The request could not be completed because the\r
- buffer specifed by DescriptorLength and DescriptorBuffer\r
+ buffer specified by DescriptorLength and DescriptorBuffer\r
is not large enough to hold the result of the request.\r
@retval EFI_TIMEOUT A timeout occurred executing the request.\r
@retval EFI_DEVICE_ERROR The request failed due to a device error.\r
UsbGetProtocolRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r
- IN UINT8 *Protocol\r
+ OUT UINT8 *Protocol\r
);\r
\r
/**\r
EFI_STATUS\r
EFIAPI\r
UsbGetReportRequest (\r
- IN EFI_USB_IO_PROTOCOL *UsbIo,\r
- IN UINT8 Interface,\r
- IN UINT8 ReportId,\r
- IN UINT8 ReportType,\r
- IN UINT16 ReportLen,\r
- IN UINT8 *Report\r
+ IN EFI_USB_IO_PROTOCOL *UsbIo,\r
+ IN UINT8 Interface,\r
+ IN UINT8 ReportId,\r
+ IN UINT8 ReportType,\r
+ IN UINT16 ReportLen,\r
+ OUT UINT8 *Report\r
);\r
\r
/**\r
UsbGetInterface (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT16 Interface,\r
- OUT UINT8 *AlternateSetting,\r
+ OUT UINT16 *AlternateSetting,\r
OUT UINT32 *Status\r
);\r
\r
EFIAPI\r
UsbGetConfiguration (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
- OUT UINT8 *ConfigurationValue,\r
+ OUT UINT16 *ConfigurationValue,\r
OUT UINT32 *Status\r
);\r
\r
\r
Retrieve the USB endpoint descriptor specified by UsbIo and EndPoint.\r
If the USB endpoint descriptor can not be retrieved, then return EFI_NOT_FOUND.\r
- If the endpoint descriptor is found, then clear the halt fature of this USB endpoint.\r
+ If the endpoint descriptor is found, then clear the halt feature of this USB endpoint.\r
The status of the transfer is returned in Status.\r
If UsbIo is NULL, then ASSERT().\r
If Status is NULL, then ASSERT().\r