Expand Minimize

IOCTL_USB_GET_HUB_CAPABILITIES control code

The IOCTL_USB_GET_HUB_CAPABILITIES I/O control request retrieves the capabilities of a USB hub.

Note  This request is replaced by IOCTL_USB_GET_HUB_CAPABILITIES_EX in Windows Vista.

IOCTL_USB_GET_HUB_CAPABILITIES is a user-mode I/O control request. This request targets the USB hub device (GUID_DEVINTERFACE_USB_HUB).

Input Parameters

None.

Output Parameters

The AssociatedIrp.SystemBuffer member points to a user-allocated USB_HUB_CAPABILITIES structure that describes the hub capabilities.

The Parameters.DeviceIoControl.OutputBufferLength member indicates the size, in bytes, of the output buffer in SystemBuffer. The output buffer size must be >= sizeof(USB_HUB_CAPABILITIES).

I/O Status Block

The USB stack sets Irp->IoStatus.Status to STATUS_SUCCESS if the request is successful. Otherwise, the USB stack sets Status to the appropriate error condition, such as STATUS_INVALID_PARAMETER or STATUS_INSUFFICIENT_RESOURCES.

Requirements

Header

Usbioctl.h (include Usbioctl.h)

See also

IOCTL_USB_GET_HUB_CAPABILITIES_EX
USB_HUB_CAPABILITIES
USB IOCTLs

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft