// parallel.h
// CTL_CODE(0x0016, 0x014, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_PARALLEL_CLEAR_CHIP_MODE 0x00160050
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_INTERNAL_PARALLEL_CLEAR_CHIP_MODE request clears the operating mode of a parallel port.
For more information see, Setting and Clearing the Communication Mode on a ParallelPort.
IRP_MJ_INTERNAL_DEVICE_CONTROL
The AssociatedIrp.SystemBuffer member points to a PARALLEL_CHIP_MODE structure that the client allocates to input chip mode information. The client sets the ModeFlags member to the current operating mode.
The request sets the Parameters.DeviceIoControl.InputBufferLength member to the size, in bytes, of a PARALLEL_CHIP_MODE structure.
None.
None.
The Information member is set to zero.
The Status member is set to one of the generic status values returned by internal device control requests for parallel ports or to one of the following values:
STATUS_BUFFER_TOO_SMALL
The value of the Parameters.DeviceIoControl.InputBufferLength member is less than the size, in bytes, of a PARALLEL_CHIP_MODE structure.
STATUS_INVALID_DEVICE_STATE
The specified operating mode is not the same as the current operating mode of the parallel port.
IOCTL_INTERNAL_PARALLEL_SET_CHIP_MODE