IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbfnioctl.h

// CTL_CODE(0x002a, 0x00b, METHOD_BUFFERED, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS 0x002AC02C
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-usbfnioctl-ioctl_internal_usbfn_activate_usb_bus)

IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS IOCTL

Description

The USB class driver sends this request to activate the bus so that the driver can prepare to process bus events and handle traffic.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

NULL.

Input buffer length

None.

Output buffer

NULL.

Output buffer length

None.

Input/output buffer

Input/output buffer length

Status block

If the request is successful, the USB function class extension (UFX) returns STATUS_SUCCESS, or another status value for which NT_SUCCESS(status) equals TRUE. Otherwise it returns a status value for which NT_SUCCESS(status) equals FALSE.

Remarks

All class drivers must send this IOCTL request before the device attempts to connect with the host.