IOCTL_USBPRINT_GET_LPT_STATUS IOCTL (usbprint.h)
The IOCTL_USBPRINT_GET_LPT_STATUS request allows upper-layer software (such as a language monitor), to request and obtain the printer status byte from a USB printer.
Major code
Input buffer
Not used in this operation; set this parameter to NULL.
Input buffer length
Not used in this operation; set this parameter to 0.
Output buffer
Pointer to a DWORD containing the printer status.
Output buffer length
sizeof(DWORD)
Status block
Irp->IoStatus.Status is set to STATUS_SUCCESS if the request is successful. Otherwise, Status to the appropriate error condition as an NTSTATUS code.
Requirements
Requirement | Value |
---|---|
Header | usbprint.h |
See also
Creating IOCTL Requests in Drivers
WdfIoTargetSendInternalIoctlOthersSynchronously
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for