IOCTL_USBPRINT_SOFT_RESET - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// usbprint.h

// CTL_CODE(0x0022, 0x010, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_USBPRINT_SOFT_RESET 0x00220040
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-usbprint-ioctl_usbprint_soft_reset)

IOCTL_USBPRINT_SOFT_RESET IOCTL

Description

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.

Parameters

Major code

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.

Input/output buffer

Input/output buffer length

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.

See also

Creating IOCTL Requests in Drivers

WdfIoTargetSendInternalIoctlOthersSynchronously

WdfIoTargetSendInternalIoctlSynchronously

WdfIoTargetSendIoctlSynchronously