IOCTL_USB_UNREGISTER_FOR_TRANSPORT_CHARACTERISTICS_CHANGE IOCTL (usbioctl.h)

This request unregisters the caller from getting notifications about transport characteristics changes.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

A pointer to a USB_TRANSPORT_CHARACTERISTICS_CHANGE_UNREGISTRATION structure that contains the registration handle previously received by the IOCTL_USB_REGISTER_FOR_TRANSPORT_CHARACTERISTICS_CHANGE request.

Input buffer length

The size of the USB_TRANSPORT_CHARACTERISTICS_CHANGE_UNREGISTRATION structure.

Status block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status indicates the appropriate error condition as a NTSTATUS code.

Remarks

After this request completes the registration handle is considered to be stale and requests sent on that handle are failed by the USB driver stack.

Requirements

Requirement Value
Header usbioctl.h
IRQL <=DISPATCH_LEVEL

See also

Creating IOCTL Requests in Drivers

USB client drivers for Media-Agnostic (MA-USB)

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously