Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The USB_CONNECTION_STATUS enumerator indicates the status of the connection to a device on a USB hub port.
Syntax
typedef enum _USB_CONNECTION_STATUS {
NoDeviceConnected,
DeviceConnected,
DeviceFailedEnumeration,
DeviceGeneralFailure,
DeviceCausedOvercurrent,
DeviceNotEnoughPower,
DeviceNotEnoughBandwidth,
DeviceHubNestedTooDeeply,
DeviceInLegacyHub,
DeviceEnumerating,
DeviceReset
} USB_CONNECTION_STATUS, *PUSB_CONNECTION_STATUS;
Constants
NoDeviceConnectedIndicates that there is no device connected to the port. |
DeviceConnectedIndicates that a device was successfully connected to the port. |
DeviceFailedEnumerationIndicates that an attempt was made to connect a device to the port, but the enumeration of the device failed. |
DeviceGeneralFailureIndicates that an attempt was made to connect a device to the port, but the connection failed for unspecified reasons. |
DeviceCausedOvercurrentIndicates that an attempt was made to connect a device to the port, but the attempt failed because of an overcurrent condition. |
DeviceNotEnoughPowerIndicates that an attempt was made to connect a device to the port, but there was not enough power to drive the device, and the connection failed. |
DeviceNotEnoughBandwidthIndicates that an attempt was made to connect a device to the port, but there was not enough bandwidth available for the device to function properly, and the connection failed. |
DeviceHubNestedTooDeeplyIndicates that an attempt was made to connect a device to the port, but the nesting of USB hubs was too deep, so the connection failed. |
DeviceInLegacyHubIndicates that an attempt was made to connect a device to the port of an unsupported legacy hub, and the connection failed. |
DeviceEnumeratingIndicates that a device connected to the port is currently being enumerated. Note This constant is supported in Windows Vista and later operating systems. |
DeviceResetIndicates that device connected to the port is currently being reset. Note This constant is supported in Windows Vista and later operating systems. |
Remarks
The USB bus driver reports connection status in a USB_NODE_CONNECTION_INFORMATION_EX structure in response to an IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX request.
Requirements
| Requirement | Value |
|---|---|
| Header | usbioctl.h (include Usbioctl.h) |
See also
IOCTL_USB_GET_NODE_CONNECTION_INFORMATION_EX