// usbprint.h
// CTL_CODE(0x0022, 0x010, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_USBPRINT_SOFT_RESET 0x00220040
View the official Windows Driver Kit DDI referenceNo description available.
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.
Not used with this operation; set this parameter to NULL.
Not used with this operation; set this parameter to 0.
Not used with this operation; set this parameter to NULL.
Not used with this operation; set this parameter to 0.
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as a NTSTATUS code.
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
WdfIoTargetSendInternalIoctlSynchronously
WdfIoTargetSendIoctlSynchronously