// ntddpar.h
// CTL_CODE(0x0016, 0x008, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_PAR_SET_READ_ADDRESS 0x00160020
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_PAR_SET_READ_ADDRESS request sets an extended capabilities port (ECP) or enhanced parallel port (EPP) read address (channel) for a parallel device.
The AssociatedIrp.SystemBuffer member points to a UCHAR buffer that the client allocates to input a read address. The request sets the buffer to an ECP or EPP read address.
Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a UCHAR.
None.
None.
The Information member is set to zero.
The Status member is set to one of the generic status values returned by device control requests for parallel devices or to the following value:
STATUS_INVALID_PARAMETER
Parameters.DeviceIoControl.InputBufferLength is less than the size, in bytes, of a UCHAR.