[USB-BRINGUP]
[reactos.git] / drivers / hid / hidusb / hidusb.h
1 #pragma once
2
3 #define _HIDPI_
4 #define _HIDPI_NO_FUNCTION_MACROS_
5 #include <ntddk.h>
6 #include <hidport.h>
7 #include <debug.h>
8 #include <hubbusif.h>
9 #include <usbbusif.h>
10 #include <usbioctl.h>
11 #include <usb.h>
12 #include <usbdlib.h>
13
14 typedef struct
15 {
16 //
17 // event for completion
18 //
19 KEVENT Event;
20
21 //
22 // list for pending requests
23 //
24 LIST_ENTRY PendingRequests;
25
26 //
27 // device descriptor
28 //
29 PUSB_DEVICE_DESCRIPTOR DeviceDescriptor;
30
31 //
32 // configuration descriptor
33 //
34 PUSB_CONFIGURATION_DESCRIPTOR ConfigurationDescriptor;
35
36 //
37 // interface information
38 //
39 PUSBD_INTERFACE_INFORMATION InterfaceInfo;
40
41 //
42 // configuration handle
43 //
44 USBD_CONFIGURATION_HANDLE ConfigurationHandle;
45
46 //
47 // hid descriptor
48 //
49 PHID_DESCRIPTOR HidDescriptor;
50 }HID_USB_DEVICE_EXTENSION, *PHID_USB_DEVICE_EXTENSION;
51