IOCTL_USBPRINT_SOFT_RESET IOCTL (usbprint.h)

The IOCTL_USBPRINT_SOFT_RESET request allows upper-layer software (such as a language monitor), to issue a class-specific soft reset command to the printer.

Major code

IRP_MJ_DEVICE_CONTROL

Input buffer

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

Input buffer length

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

Output buffer

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

Output buffer length

Not used with 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

Requirement Value
Header usbprint.h

See also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously