IOCTL_PAR_SET_WRITE_ADDRESS - NtDoc

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

// CTL_CODE(0x0016, 0x007, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_PAR_SET_WRITE_ADDRESS 0x0016001C
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-ntddpar-ioctl_par_set_write_address)

IOCTL_PAR_SET_WRITE_ADDRESS IOCTL

Major Code:

IRP_MJ_DEVICE_CONTROL

Description

The IOCTL_PAR_SET_WRITE_ADDRESS request sets an extended capabilities port (ECP) or enhanced parallel port (EPP) write address (channel) for a parallel device. The parallel port bus driver queues this request on a work queue for the parallel device.

Parameters

Major code

Input buffer

The AssociatedIrp.SystemBuffer member points to a UCHAR buffer that the client allocates to input a write address. The client sets the buffer to an ECP or EPP write 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.

Input/output buffer

Input/output buffer length

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:

STATUS_INVALID_PARAMETER

Parameters.DeviceIoControl.InputBufferLength is less than the size, in bytes, of a UCHAR.

See also

IOCTL_PAR_SET_READ_ADDRESS