#include "usb100.h"
#include "usbiodef.h"
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
|
#define | IOCTL_INTERNAL_USB_SUBMIT_URB CTL_CODE(FILE_DEVICE_USB, USB_SUBMIT_URB, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_RESET_PORT CTL_CODE(FILE_DEVICE_USB, USB_RESET_PORT, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO CTL_CODE(FILE_DEVICE_USB, USB_GET_ROOTHUB_PDO, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | USBD_PORT_ENABLED 1 |
|
#define | USBD_PORT_CONNECTED 2 |
|
#define | IOCTL_INTERNAL_USB_GET_PORT_STATUS CTL_CODE(FILE_DEVICE_USB, USB_GET_PORT_STATUS, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_ENABLE_PORT CTL_CODE(FILE_DEVICE_USB, USB_ENABLE_PORT, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_HUB_COUNT CTL_CODE(FILE_DEVICE_USB, USB_GET_HUB_COUNT, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_CYCLE_PORT CTL_CODE(FILE_DEVICE_USB, USB_CYCLE_PORT, METHOD_NEITHER, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_HUB_NAME CTL_CODE(FILE_DEVICE_USB, USB_GET_HUB_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_BUS_INFO CTL_CODE(FILE_DEVICE_USB, USB_GET_BUS_INFO, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_CONTROLLER_NAME CTL_CODE(FILE_DEVICE_USB, USB_GET_CONTROLLER_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_BUSGUID_INFO CTL_CODE(FILE_DEVICE_USB, USB_GET_BUSGUID_INFO, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_INTERNAL_USB_GET_PARENT_HUB_INFO CTL_CODE(FILE_DEVICE_USB, USB_GET_PARENT_HUB_INFO, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_HCD_GET_STATS_1 CTL_CODE(FILE_DEVICE_USB, HCD_GET_STATS_1, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_HCD_GET_STATS_2 CTL_CODE(FILE_DEVICE_USB, HCD_GET_STATS_2, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_HCD_DISABLE_PORT CTL_CODE(FILE_DEVICE_USB, HCD_DISABLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_HCD_ENABLE_PORT CTL_CODE(FILE_DEVICE_USB, HCD_ENABLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_HCD_DISABLE_PORT CTL_CODE(FILE_DEVICE_USB, HCD_DISABLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_HCD_ENABLE_PORT CTL_CODE(FILE_DEVICE_USB, HCD_ENABLE_PORT, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_DIAGNOSTIC_MODE_OFF CTL_CODE(FILE_DEVICE_USB, HCD_DIAGNOSTIC_MODE_OFF, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_DIAGNOSTIC_MODE_ON CTL_CODE(FILE_DEVICE_USB, HCD_DIAGNOSTIC_MODE_ON, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_GET_ROOT_HUB_NAME CTL_CODE(FILE_DEVICE_USB, HCD_GET_ROOT_HUB_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_GET_HCD_DRIVERKEY_NAME CTL_CODE(FILE_DEVICE_USB, HCD_GET_DRIVERKEY_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_GET_NODE_INFORMATION CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_INFORMATION, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_GET_NODE_CONNECTION_INFORMATION CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_INFORMATION, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION CTL_CODE(FILE_DEVICE_USB, USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_GET_NODE_CONNECTION_NAME CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_DIAG_IGNORE_HUBS_ON CTL_CODE(FILE_DEVICE_USB, USB_DIAG_IGNORE_HUBS_ON, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_DIAG_IGNORE_HUBS_OFF CTL_CODE(FILE_DEVICE_USB, USB_DIAG_IGNORE_HUBS_OFF, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME CTL_CODE(FILE_DEVICE_USB, USB_GET_NODE_CONNECTION_DRIVERKEY_NAME, METHOD_BUFFERED, FILE_ANY_ACCESS) |
|
#define | WMI_USB_DRIVER_INFORMATION 0 |
|
#define | WMI_USB_DRIVER_NOTIFICATION 1 |
|
#define | WMI_USB_POWER_DEVICE_ENABLE 2 |
|
#define | WMI_USB_HUB_NODE_INFORMATION 4 |
|
#define | WMI_USB_PERFORMANCE_INFORMATION 1 |
|
#define | WMI_USB_DEVICE_NODE_INFORMATION 2 |
|
|
enum | _USB_HUB_NODE { UsbHub
, UsbMIParent
} |
|
enum | _USB_CONNECTION_STATUS {
NoDeviceConnected
, DeviceConnected
, DeviceFailedEnumeration
, DeviceGeneralFailure
,
DeviceCausedOvercurrent
, DeviceNotEnoughPower
, DeviceNotEnoughBandwidth
} |
|
enum | _USB_NOTIFICATION_TYPE {
EnumerationFailure = 0
, InsufficentBandwidth
, InsufficentPower
, OverCurrent
,
ResetOvercurrent
, AcquireBusInfo
, AcquireHubName
, AcquireControllerName
,
HubOvercurrent
, HubPowerChange
} |
|
◆ IOCTL_GET_HCD_DRIVERKEY_NAME
◆ IOCTL_INTERNAL_USB_CYCLE_PORT
◆ IOCTL_INTERNAL_USB_ENABLE_PORT
◆ IOCTL_INTERNAL_USB_GET_BUS_INFO
◆ IOCTL_INTERNAL_USB_GET_BUSGUID_INFO
◆ IOCTL_INTERNAL_USB_GET_CONTROLLER_NAME
◆ IOCTL_INTERNAL_USB_GET_HUB_COUNT
◆ IOCTL_INTERNAL_USB_GET_HUB_NAME
◆ IOCTL_INTERNAL_USB_GET_PARENT_HUB_INFO
◆ IOCTL_INTERNAL_USB_GET_PORT_STATUS
◆ IOCTL_INTERNAL_USB_GET_ROOTHUB_PDO
◆ IOCTL_INTERNAL_USB_RESET_PORT
◆ IOCTL_INTERNAL_USB_SUBMIT_URB
◆ IOCTL_USB_DIAG_IGNORE_HUBS_OFF
◆ IOCTL_USB_DIAG_IGNORE_HUBS_ON
◆ IOCTL_USB_DIAGNOSTIC_MODE_OFF
◆ IOCTL_USB_DIAGNOSTIC_MODE_ON
◆ IOCTL_USB_GET_DESCRIPTOR_FROM_NODE_CONNECTION
◆ IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME
◆ IOCTL_USB_GET_NODE_CONNECTION_INFORMATION
◆ IOCTL_USB_GET_NODE_CONNECTION_NAME
◆ IOCTL_USB_GET_NODE_INFORMATION
◆ IOCTL_USB_GET_ROOT_HUB_NAME
◆ IOCTL_USB_HCD_DISABLE_PORT [1/2]
◆ IOCTL_USB_HCD_DISABLE_PORT [2/2]
◆ IOCTL_USB_HCD_ENABLE_PORT [1/2]
◆ IOCTL_USB_HCD_ENABLE_PORT [2/2]
◆ IOCTL_USB_HCD_GET_STATS_1
◆ IOCTL_USB_HCD_GET_STATS_2
◆ USBD_PORT_CONNECTED
◆ USBD_PORT_ENABLED
◆ WMI_USB_DEVICE_NODE_INFORMATION
#define WMI_USB_DEVICE_NODE_INFORMATION 2 |
◆ WMI_USB_DRIVER_INFORMATION
#define WMI_USB_DRIVER_INFORMATION 0 |
◆ WMI_USB_DRIVER_NOTIFICATION
#define WMI_USB_DRIVER_NOTIFICATION 1 |
◆ WMI_USB_HUB_NODE_INFORMATION
#define WMI_USB_HUB_NODE_INFORMATION 4 |
◆ WMI_USB_PERFORMANCE_INFORMATION
#define WMI_USB_PERFORMANCE_INFORMATION 1 |
◆ WMI_USB_POWER_DEVICE_ENABLE
#define WMI_USB_POWER_DEVICE_ENABLE 2 |
◆ HCD_ISO_STAT_COUNTERS
◆ HCD_STAT_COUNTERS
◆ HCD_STAT_INFORMATION_1
◆ HCD_STAT_INFORMATION_2
◆ PHCD_ISO_STAT_COUNTERS
◆ PHCD_STAT_COUNTERS
◆ PHCD_STAT_INFORMATION_1
◆ PHCD_STAT_INFORMATION_2
◆ PUSB_ACQUIRE_INFO
◆ PUSB_BUS_NOTIFICATION
◆ PUSB_CONNECTION_NOTIFICATION
◆ PUSB_CONNECTION_STATUS
◆ PUSB_DESCRIPTOR_REQUEST
◆ PUSB_HCD_DRIVERKEY_NAME
◆ PUSB_HUB_INFORMATION
◆ PUSB_HUB_NAME
◆ PUSB_MI_PARENT_INFORMATION
◆ PUSB_NODE_CONNECTION_DRIVERKEY_NAME
◆ PUSB_NODE_CONNECTION_INFORMATION
◆ PUSB_NODE_CONNECTION_NAME
◆ PUSB_NODE_INFORMATION
◆ PUSB_NOTIFICATION
◆ PUSB_PIPE_INFO
◆ PUSB_ROOT_HUB_NAME
◆ USB_ACQUIRE_INFO
◆ USB_BUS_NOTIFICATION
◆ USB_CONNECTION_NOTIFICATION
◆ USB_CONNECTION_STATUS
◆ USB_DESCRIPTOR_REQUEST
◆ USB_HCD_DRIVERKEY_NAME
◆ USB_HUB_INFORMATION
◆ USB_HUB_NAME
◆ USB_HUB_NODE
◆ USB_MI_PARENT_INFORMATION
◆ USB_NODE_CONNECTION_DRIVERKEY_NAME
◆ USB_NODE_CONNECTION_INFORMATION
◆ USB_NODE_CONNECTION_NAME
◆ USB_NODE_INFORMATION
◆ USB_NOTIFICATION
◆ USB_NOTIFICATION_TYPE
◆ USB_PIPE_INFO
◆ USB_ROOT_HUB_NAME
◆ _USB_CONNECTION_STATUS
Enumerator |
---|
NoDeviceConnected | |
DeviceConnected | |
DeviceFailedEnumeration | |
DeviceGeneralFailure | |
DeviceCausedOvercurrent | |
DeviceNotEnoughPower | |
DeviceNotEnoughBandwidth | |
Definition at line 277 of file usbioctl.h.
277 {
enum _USB_CONNECTION_STATUS USB_CONNECTION_STATUS
@ DeviceFailedEnumeration
@ DeviceCausedOvercurrent
@ DeviceNotEnoughBandwidth
enum _USB_CONNECTION_STATUS * PUSB_CONNECTION_STATUS
◆ _USB_HUB_NODE
Enumerator |
---|
UsbHub | |
UsbMIParent | |
Definition at line 218 of file usbioctl.h.
218 {
enum _USB_HUB_NODE USB_HUB_NODE
◆ _USB_NOTIFICATION_TYPE
Enumerator |
---|
EnumerationFailure | |
InsufficentBandwidth | |
InsufficentPower | |
OverCurrent | |
ResetOvercurrent | |
AcquireBusInfo | |
AcquireHubName | |
AcquireControllerName | |
HubOvercurrent | |
HubPowerChange | |
Definition at line 507 of file usbioctl.h.
507 {
enum _USB_NOTIFICATION_TYPE USB_NOTIFICATION_TYPE