IOCTL_USBPRINT_VENDOR_GET_COMMAND IOCTL

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

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

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

Array Element Contents
lpOutBuffer[0] Vendor request code
lpOutBuffer[1] Vendor request value (most significant byte)
lpOutBuffer[2] Vendor request value (least significant byte)

Input buffer length

The size of the input buffer, in bytes.

Output buffer

The output buffer, which is interpreted as an array of bytes.

Output buffer length

The size of the output buffer, in bytes.

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_SET_COMMAND

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously