git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10797
6f19259b-4bc3-4df7-8a09-
765794883524
The library provides USB HID Class standard and specific requests defined\r
in USB HID Firmware Specification 7 section : Requests.\r
\r
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. All rights reserved.<BR>\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
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
Request.Request = USB_REQ_GET_DESCRIPTOR;\r
Request.Value = (UINT16) (USB_DESC_TYPE_HID << 8);\r
Request.Index = Interface;\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
\r
Result = UsbIo->UsbControlTransfer (\r
UsbIo,\r