IOCTL_PAR_SET_INFORMATION IOCTL

The IOCTL_PAR_SET_INFORMATION request resets and initializes a parallel device.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

The AssociatedIrp.SystemBuffer member points to a PAR_SET_INFORMATION structure that the client allocates to input set information. The client sets the Init member to PARALLEL_INIT.

Input Buffer Length

The Parameters.DeviceIoControl.InputBufferLength member is set to the size, in bytes, of a PAR_SET_INFORMATION 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 device control requests for parallel devices or to one of the following values:

Requirements

   
Header ntddpar.h (include Ntddpar.h)

See Also

IOCTL_PAR_QUERY_INFORMATION

PAR_SET_INFORMATION