IOCTL_PAR_SET_READ_ADDRESS IOCTL

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.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

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.

Input Buffer Length

Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a UCHAR.

Output Buffer

None.

Output Buffer Length

None.

Status Block

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:

Requirements

   
Header ntddpar.h (include Ntddpar.h)

See Also

IOCTL_PAR_SET_WRITE_ADDRESS