ReactOS 0.4.15-dev-7918-g2a2556c
usbiodef.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define USB_SUBMIT_URB   0
 
#define USB_RESET_PORT   1
 
#define USB_GET_ROOTHUB_PDO   3
 
#define USB_GET_PORT_STATUS   4
 
#define USB_ENABLE_PORT   5
 
#define USB_GET_HUB_COUNT   6
 
#define USB_CYCLE_PORT   7
 
#define USB_GET_HUB_NAME   8
 
#define USB_IDLE_NOTIFICATION   9
 
#define USB_RECORD_FAILURE   10
 
#define USB_GET_BUS_INFO   264
 
#define USB_GET_CONTROLLER_NAME   265
 
#define USB_GET_BUSGUID_INFO   266
 
#define USB_GET_PARENT_HUB_INFO   267
 
#define USB_GET_DEVICE_HANDLE   268
 
#define USB_GET_DEVICE_HANDLE_EX   269
 
#define USB_GET_TT_DEVICE_HANDLE   270
 
#define USB_GET_TOPOLOGY_ADDRESS   271
 
#define USB_IDLE_NOTIFICATION_EX   272
 
#define USB_REQ_GLOBAL_SUSPEND   273
 
#define USB_REQ_GLOBAL_RESUME   274
 
#define USB_GET_HUB_CONFIG_INFO   275
 
#define USB_GET_NODE_INFORMATION   258
 
#define USB_GET_NODE_CONNECTION_INFORMATION   259
 
#define USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION   260
 
#define USB_GET_NODE_CONNECTION_NAME   261
 
#define USB_DIAG_IGNORE_HUBS_ON   262
 
#define USB_DIAG_IGNORE_HUBS_OFF   263
 
#define USB_GET_NODE_CONNECTION_DRIVERKEY_NAME   264
 
#define USB_GET_HUB_CAPABILITIES   271
 
#define USB_GET_NODE_CONNECTION_ATTRIBUTES   272
 
#define USB_HUB_CYCLE_PORT   273
 
#define USB_GET_NODE_CONNECTION_INFORMATION_EX   274
 
#define USB_RESET_HUB   275
 
#define USB_GET_HUB_CAPABILITIES_EX   276
 
#define HCD_GET_STATS_1   255
 
#define HCD_DIAGNOSTIC_MODE_ON   256
 
#define HCD_DIAGNOSTIC_MODE_OFF   257
 
#define HCD_GET_ROOT_HUB_NAME   258
 
#define HCD_GET_DRIVERKEY_NAME   265
 
#define HCD_GET_STATS_2   266
 
#define HCD_DISABLE_PORT   268
 
#define HCD_ENABLE_PORT   269
 
#define HCD_USER_REQUEST   270
 
#define HCD_TRACE_READ_REQUEST   275
 
#define FILE_DEVICE_USB   FILE_DEVICE_UNKNOWN
 
#define USB_CTL(id)   CTL_CODE(FILE_DEVICE_USB, (id), METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define USB_KERNEL_CTL(id)   CTL_CODE(FILE_DEVICE_USB, (id), METHOD_NEITHER, FILE_ANY_ACCESS)
 
#define USB_KERNEL_CTL_BUFFERED(id)   CTL_CODE(FILE_DEVICE_USB, (id), METHOD_BUFFERED, FILE_ANY_ACCESS)
 
#define GUID_CLASS_USBHUB   GUID_DEVINTERFACE_USB_HUB
 
#define GUID_CLASS_USB_DEVICE   GUID_DEVINTERFACE_USB_DEVICE
 
#define GUID_CLASS_USB_HOST_CONTROLLER   GUID_DEVINTERFACE_USB_HOST_CONTROLLER
 

Functions

 DEFINE_GUID (GUID_DEVINTERFACE_USB_HUB, 0xF18A0E88, 0xc30C, 0x11D0, 0x88, 0x15, 0x00, 0xA0, 0xC9, 0x06, 0xBE, 0xD8)
 
 DEFINE_GUID (GUID_DEVINTERFACE_USB_DEVICE, 0xA5DCBF10L, 0x6530, 0x11D2, 0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED)
 
 DEFINE_GUID (GUID_DEVINTERFACE_USB_HOST_CONTROLLER, 0x3ABF6F2D, 0x71C4, 0x462A, 0x8A, 0x92, 0x1E, 0x68, 0x61, 0xE6, 0xAF, 0x27)
 
 DEFINE_GUID (GUID_USB_WMI_STD_DATA, 0x4E623B20L, 0xCB14, 0x11D1, 0xB3, 0x31, 0x00, 0xA0, 0xC9, 0x59, 0xBB, 0xD2)
 
 DEFINE_GUID (GUID_USB_WMI_STD_NOTIFICATION, 0x4E623B20L, 0xCB14, 0x11D1, 0xB3, 0x31, 0x00, 0xA0, 0xC9, 0x59, 0xBB, 0xD2)
 

Macro Definition Documentation

◆ FILE_DEVICE_USB

#define FILE_DEVICE_USB   FILE_DEVICE_UNKNOWN

Definition at line 71 of file usbiodef.h.

◆ GUID_CLASS_USB_DEVICE

#define GUID_CLASS_USB_DEVICE   GUID_DEVINTERFACE_USB_DEVICE

Definition at line 94 of file usbiodef.h.

◆ GUID_CLASS_USB_HOST_CONTROLLER

#define GUID_CLASS_USB_HOST_CONTROLLER   GUID_DEVINTERFACE_USB_HOST_CONTROLLER

Definition at line 95 of file usbiodef.h.

◆ GUID_CLASS_USBHUB

#define GUID_CLASS_USBHUB   GUID_DEVINTERFACE_USB_HUB

Definition at line 93 of file usbiodef.h.

◆ HCD_DIAGNOSTIC_MODE_OFF

#define HCD_DIAGNOSTIC_MODE_OFF   257

Definition at line 62 of file usbiodef.h.

◆ HCD_DIAGNOSTIC_MODE_ON

#define HCD_DIAGNOSTIC_MODE_ON   256

Definition at line 61 of file usbiodef.h.

◆ HCD_DISABLE_PORT

#define HCD_DISABLE_PORT   268

Definition at line 66 of file usbiodef.h.

◆ HCD_ENABLE_PORT

#define HCD_ENABLE_PORT   269

Definition at line 67 of file usbiodef.h.

◆ HCD_GET_DRIVERKEY_NAME

#define HCD_GET_DRIVERKEY_NAME   265

Definition at line 64 of file usbiodef.h.

◆ HCD_GET_ROOT_HUB_NAME

#define HCD_GET_ROOT_HUB_NAME   258

Definition at line 63 of file usbiodef.h.

◆ HCD_GET_STATS_1

#define HCD_GET_STATS_1   255

Definition at line 60 of file usbiodef.h.

◆ HCD_GET_STATS_2

#define HCD_GET_STATS_2   266

Definition at line 65 of file usbiodef.h.

◆ HCD_TRACE_READ_REQUEST

#define HCD_TRACE_READ_REQUEST   275

Definition at line 69 of file usbiodef.h.

◆ HCD_USER_REQUEST

#define HCD_USER_REQUEST   270

Definition at line 68 of file usbiodef.h.

◆ USB_CTL

Definition at line 72 of file usbiodef.h.

◆ USB_CYCLE_PORT

#define USB_CYCLE_PORT   7

Definition at line 29 of file usbiodef.h.

◆ USB_DIAG_IGNORE_HUBS_OFF

#define USB_DIAG_IGNORE_HUBS_OFF   263

Definition at line 51 of file usbiodef.h.

◆ USB_DIAG_IGNORE_HUBS_ON

#define USB_DIAG_IGNORE_HUBS_ON   262

Definition at line 50 of file usbiodef.h.

◆ USB_ENABLE_PORT

#define USB_ENABLE_PORT   5

Definition at line 27 of file usbiodef.h.

◆ USB_GET_BUS_INFO

#define USB_GET_BUS_INFO   264

Definition at line 33 of file usbiodef.h.

◆ USB_GET_BUSGUID_INFO

#define USB_GET_BUSGUID_INFO   266

Definition at line 35 of file usbiodef.h.

◆ USB_GET_CONTROLLER_NAME

#define USB_GET_CONTROLLER_NAME   265

Definition at line 34 of file usbiodef.h.

◆ USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION

#define USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION   260

Definition at line 48 of file usbiodef.h.

◆ USB_GET_DEVICE_HANDLE

#define USB_GET_DEVICE_HANDLE   268

Definition at line 37 of file usbiodef.h.

◆ USB_GET_DEVICE_HANDLE_EX

#define USB_GET_DEVICE_HANDLE_EX   269

Definition at line 38 of file usbiodef.h.

◆ USB_GET_HUB_CAPABILITIES

#define USB_GET_HUB_CAPABILITIES   271

Definition at line 53 of file usbiodef.h.

◆ USB_GET_HUB_CAPABILITIES_EX

#define USB_GET_HUB_CAPABILITIES_EX   276

Definition at line 58 of file usbiodef.h.

◆ USB_GET_HUB_CONFIG_INFO

#define USB_GET_HUB_CONFIG_INFO   275

Definition at line 44 of file usbiodef.h.

◆ USB_GET_HUB_COUNT

#define USB_GET_HUB_COUNT   6

Definition at line 28 of file usbiodef.h.

◆ USB_GET_HUB_NAME

#define USB_GET_HUB_NAME   8

Definition at line 30 of file usbiodef.h.

◆ USB_GET_NODE_CONNECTION_ATTRIBUTES

#define USB_GET_NODE_CONNECTION_ATTRIBUTES   272

Definition at line 54 of file usbiodef.h.

◆ USB_GET_NODE_CONNECTION_DRIVERKEY_NAME

#define USB_GET_NODE_CONNECTION_DRIVERKEY_NAME   264

Definition at line 52 of file usbiodef.h.

◆ USB_GET_NODE_CONNECTION_INFORMATION

#define USB_GET_NODE_CONNECTION_INFORMATION   259

Definition at line 47 of file usbiodef.h.

◆ USB_GET_NODE_CONNECTION_INFORMATION_EX

#define USB_GET_NODE_CONNECTION_INFORMATION_EX   274

Definition at line 56 of file usbiodef.h.

◆ USB_GET_NODE_CONNECTION_NAME

#define USB_GET_NODE_CONNECTION_NAME   261

Definition at line 49 of file usbiodef.h.

◆ USB_GET_NODE_INFORMATION

#define USB_GET_NODE_INFORMATION   258

Definition at line 46 of file usbiodef.h.

◆ USB_GET_PARENT_HUB_INFO

#define USB_GET_PARENT_HUB_INFO   267

Definition at line 36 of file usbiodef.h.

◆ USB_GET_PORT_STATUS

#define USB_GET_PORT_STATUS   4

Definition at line 26 of file usbiodef.h.

◆ USB_GET_ROOTHUB_PDO

#define USB_GET_ROOTHUB_PDO   3

Definition at line 25 of file usbiodef.h.

◆ USB_GET_TOPOLOGY_ADDRESS

#define USB_GET_TOPOLOGY_ADDRESS   271

Definition at line 40 of file usbiodef.h.

◆ USB_GET_TT_DEVICE_HANDLE

#define USB_GET_TT_DEVICE_HANDLE   270

Definition at line 39 of file usbiodef.h.

◆ USB_HUB_CYCLE_PORT

#define USB_HUB_CYCLE_PORT   273

Definition at line 55 of file usbiodef.h.

◆ USB_IDLE_NOTIFICATION

#define USB_IDLE_NOTIFICATION   9

Definition at line 31 of file usbiodef.h.

◆ USB_IDLE_NOTIFICATION_EX

#define USB_IDLE_NOTIFICATION_EX   272

Definition at line 41 of file usbiodef.h.

◆ USB_KERNEL_CTL

#define USB_KERNEL_CTL (   id)    CTL_CODE(FILE_DEVICE_USB, (id), METHOD_NEITHER, FILE_ANY_ACCESS)

Definition at line 73 of file usbiodef.h.

◆ USB_KERNEL_CTL_BUFFERED

#define USB_KERNEL_CTL_BUFFERED (   id)    CTL_CODE(FILE_DEVICE_USB, (id), METHOD_BUFFERED, FILE_ANY_ACCESS)

Definition at line 74 of file usbiodef.h.

◆ USB_RECORD_FAILURE

#define USB_RECORD_FAILURE   10

Definition at line 32 of file usbiodef.h.

◆ USB_REQ_GLOBAL_RESUME

#define USB_REQ_GLOBAL_RESUME   274

Definition at line 43 of file usbiodef.h.

◆ USB_REQ_GLOBAL_SUSPEND

#define USB_REQ_GLOBAL_SUSPEND   273

Definition at line 42 of file usbiodef.h.

◆ USB_RESET_HUB

#define USB_RESET_HUB   275

Definition at line 57 of file usbiodef.h.

◆ USB_RESET_PORT

#define USB_RESET_PORT   1

Definition at line 24 of file usbiodef.h.

◆ USB_SUBMIT_URB

#define USB_SUBMIT_URB   0

Definition at line 23 of file usbiodef.h.

Function Documentation

◆ DEFINE_GUID() [1/5]

DEFINE_GUID ( GUID_DEVINTERFACE_USB_DEVICE  ,
0xA5DCBF10L  ,
0x6530  ,
0x11D2  ,
0x90  ,
0x1F  ,
0x00  ,
0xC0  ,
0x4F  ,
0xB9  ,
0x51  ,
0xED   
)

◆ DEFINE_GUID() [2/5]

DEFINE_GUID ( GUID_DEVINTERFACE_USB_HOST_CONTROLLER  ,
0x3ABF6F2D  ,
0x71C4  ,
0x462A  ,
0x8A  ,
0x92  ,
0x1E  ,
0x68  ,
0x61  ,
0xE6  ,
0xAF  ,
0x27   
)

◆ DEFINE_GUID() [3/5]

DEFINE_GUID ( GUID_DEVINTERFACE_USB_HUB  ,
0xF18A0E88  ,
0xc30C  ,
0x11D0  ,
0x88  ,
0x15  ,
0x00  ,
0xA0  ,
0xC9  ,
0x06  ,
0xBE  ,
0xD8   
)

◆ DEFINE_GUID() [4/5]

DEFINE_GUID ( GUID_USB_WMI_STD_DATA  ,
0x4E623B20L  ,
0xCB14  ,
0x11D1  ,
0xB3  ,
0x31  ,
0x00  ,
0xA0  ,
0xC9  ,
0x59  ,
0xBB  ,
0xD2   
)

◆ DEFINE_GUID() [5/5]

DEFINE_GUID ( GUID_USB_WMI_STD_NOTIFICATION  ,
0x4E623B20L  ,
0xCB14  ,
0x11D1  ,
0xB3  ,
0x31  ,
0x00  ,
0xA0  ,
0xC9  ,
0x59  ,
0xBB  ,
0xD2   
)