IOCTL_USBPRINT_VENDOR_SET_COMMAND IOCTL

The IOCTL_USBPRINT_VENDOR_SET_COMMAND request allows upper-layer software (such as a language monitor) to issue a vendor-specific SET command to the target device.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

A pointer to a input buffer, an array of UCHAR elements. The meaning of each array element is shown in the following table.

Array Element Contents
lpInBuffer[0] Vendor request code
lpInBuffer[1] Vendor request value (most significant byte)
lpInBuffer[2] Vendor request value (least significant byte)
lpInBuffer[3], ... Any additional data to be sent as part of the command

Input Buffer Length

The size of the input buffer, in bytes.

Output Buffer

Not used in this operation; set this parameter to NULL.

Output Buffer Length

Not used in this operation; set this parameter to 0.

Status Block

Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.

Requirements

   
Header usbprint.h

See Also

Creating IOCTL Requests in Drivers

IOCTL_USBPRINT_VENDOR_GET_COMMAND

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously