IOCTL_GENERICUSBFN_REGISTER_USB_STRING IOCTL (genericusbfnioctl.h)

This I/O control code (IOCTL) is sent by a user-mode service or application to register a Universal Serial Bus (USB) string descriptor.

Input buffer

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

Input buffer length

The size of a USBFN_USB_STRING structure.

Output buffer

NULL.

Output buffer length

None.

Remarks

This request must be sent after sending the IOCTL_GENERICUSBFN_ACTIVATE_USB_BUS request.

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