IOCTL_GENERICUSBFN_DEACTIVATE_USB_BUS IOCTL (genericusbfnioctl.h)

This IOCTL code is nevtot supported.

This I/O control code (IOCTL) is sent by the user-mode service or application this request to notify GenericUSBFn.sys to deactivate the Universal Serial Bus (USB). When deactivated, the bus can no longer process bus events and handle traffic.

Input buffer

NULL.

Input buffer length

None.

Output buffer

NULL.

Output buffer length

None.

Remarks

If this I/O control code (IOCTL) is being called synchronously, set the lpOverlapped parameter to NULL. If this IOCTL is called asynchronously, assign the lpOverlapped parameter to a pointer to an OVERLAPPED structure that contains a handle to an event object. The event objects signal when the operation is completed.

The return value is a BOOL value that indicates success or failure of the operation. TRUE indicates success, FALSE otherwise.

Requirements

Requirement Value
Header genericusbfnioctl.h (include GenericUsbFnIoctl.h)

See also

DeviceIoControl

IOCTL_GENERICUSBFN_ACTIVATE_USB_BUS