IOCTL_INTERNAL_USBFN_REGISTER_USB_STRING IOCTL (usbfnioctl.h)

The class driver sends this request to register a USB string descriptor.

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

A pointer to a buffer that contains a USBFN_USB_STRING structure with the USB string descriptor.

Input buffer length

The length of the input buffer must be at least sizeof(USBFN_USB_STRING).

Output buffer

NULL.

Output buffer length

None.

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

This request must be sent after sending the IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS request.

Requirements

Requirement Value
Header usbfnioctl.h

See also

IOCTL_INTERNAL_USBFN_ACTIVATE_USB_BUS

USBFN_USB_STRING