IOCTL_INTERNAL_USBFN_GET_CLASS_INFO - NtDoc

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

// CTL_CODE(0x002a, 0x008, METHOD_OUT_DIRECT, FILE_READ_ACCESS | FILE_WRITE_ACCESS)
#define IOCTL_INTERNAL_USBFN_GET_CLASS_INFO 0x002AC022
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_USBFN_GET_CLASS_INFO IOCTL

Description

The class driver sends this request IO control code to retrieve information about the available pipes for a device, as configured in the registry.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

NULL.

Input buffer length

None.

Output buffer

A pointer to a buffer that contains a USBFN_CLASS_INFORMATION_PACKET structure. Upon completion, UFX populates the structure with the name, the device interface GUID, and details of the interface when operating at a particular bus speed.

Output buffer length

The size of a USBFN_CLASS_INFORMATION_PACKET structure.

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

The class driver should send this IOCTL request during initialization so that it can enumerate the endpoints and attributes.