The library provides USB HID Class standard and specific requests defined\r
in USB HID Firmware Specification 7 section : Requests.\r
\r
- Copyright (c) 2004 - 2008, Intel Corporation\r
- All rights reserved. This program and the accompanying materials\r
+ Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>\r
+ This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
+ http://opensource.org/licenses/bsd-license.php.\r
\r
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
@param UsbIo A pointer to the USB I/O Protocol instance for the specific USB target.\r
@param Interface The index of the HID interface on the USB target.\r
- @param HidDescriptor Pointer to the USB HID descriptor that was retrieved from\r
+ @param HidDescriptor The pointer to the USB HID descriptor that was retrieved from\r
the specified USB target and interface. Type EFI_USB_HID_DESCRIPTOR\r
is defined in the MDE Package Industry Standard include file Usb.h.\r
\r
Request.Request = USB_REQ_GET_DESCRIPTOR;\r
Request.Value = (UINT16) (USB_DESC_TYPE_HID << 8);\r
Request.Index = Interface;\r
- Request.Length = sizeof (EFI_USB_HID_DESCRIPTOR);\r
+ Request.Length = (UINT16) sizeof (EFI_USB_HID_DESCRIPTOR);\r
\r
Result = UsbIo->UsbControlTransfer (\r
UsbIo,\r
EFI_STATUS\r
EFIAPI\r
UsbGetProtocolRequest (\r
- IN EFI_USB_IO_PROTOCOL *UsbIo,\r
- IN UINT8 Interface,\r
+ IN EFI_USB_IO_PROTOCOL *UsbIo,\r
+ IN UINT8 Interface,\r
OUT UINT8 *Protocol\r
)\r
{\r
\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 ReportLength and Report is not\r
+ buffer specified by ReportLength and Report is not\r
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