IOCTL_INTERNAL_PARALLEL_CLEAR_CHIP_MODE IOCTL (parallel.h)
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.
Major code
IRP_MJ_INTERNAL_DEVICE_CONTROL
Input buffer
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.
Input buffer length
The request sets the Parameters.DeviceIoControl.InputBufferLength member to the size, in bytes, of a PARALLEL_CHIP_MODE structure.
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 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.
Requirements
Requirement | Value |
---|---|
Header | parallel.h (include Parallel.h) |