#pragma pack()\r
\r
\r
-enum {\r
+typedef enum {\r
//\r
// USB request type\r
//\r
//\r
//Use 200 ms to increase the error handling response time\r
//\r
- EFI_USB_INTERRUPT_DELAY = 2000000,\r
-};\r
+ EFI_USB_INTERRUPT_DELAY = 2000000\r
+} USB_TYPES_DEFINITION;\r
\r
\r
//\r
#define EFI_USB_SET_PROTOCOL_REQUEST 0x0b\r
\r
#pragma pack(1)\r
-//\r
-// Descriptor header for Report/Physical Descriptors\r
-//\r
+///\r
+/// Descriptor header for Report/Physical Descriptors\r
+///\r
typedef struct hid_class_descriptor {\r
UINT8 DescriptorType;\r
UINT16 DescriptorLength;\r