Export (0) Print
Expand All
Expand Minimize

IOCTL_INTERNAL_USB_CYCLE_PORT control code

The IOCTL_INTERNAL_USB_CYCLE_PORT I/O request simulates a device unplug and replug on the port associated with the PDO.

Drivers should cancel all I/O requests and wait for them to complete before initiating this operation.

A driver that manages an individual interface on a composite device cannot cycle the port to which the device is attached without affecting the entire composite device and all of its interfaces. For this reason, drivers that manage interfaces should attempt other types of error recovery, such as resetting pipes (_URB_PIPE_REQUEST), before cycling the port.

IOCTL_INTERNAL_USB_CYCLE_PORT is a kernel-mode I/O control request. This request targets the USB hub PDO. This request must be sent at an IRQL of PASSIVE_LEVEL.

Input Parameters

None.

Output Parameters

None.

I/O Status Block

The bus or port driver sets Irp->IoStatus.Status to STATUS_SUCCESS or the appropriate error status.

Requirements

Version

Windows XP and later operating systems.

Header

Usbioctl.h (include Usbioctl.h)

See also

USB IOCTLs

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft