The IOCTL_PAR_QUERY_INFORMATION request returns the status of an IEEE 1284 end-of-chain device.
Input Buffer Length
The AssociatedIrp.SystemBuffer member points to a PAR_QUERY_INFORMATION structure that the client allocates to output status information. The system-supplied bus driver for parallel ports sets the Status member to a bitwise OR of one or more of the following operating conditions:
Output Buffer Length
The Parameters.DeviceIoControl.OutputBufferLength member is set to the size, in bytes, of a PAR_QUERY_INFORMATION structure.
If the request is successful, the Information member is set to the size, in bytes, of a PAR_QUERY_INFORMATION structure. Otherwise, the Information 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:
|Header||ntddpar.h (include Ntddpar.h)|