The IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO request returns information about a parallel port. The information specifies the resources assigned to the parallel port, the capabilities of the port, and pointers to parallel port callback routines.
For more information, see Obtaining Information About a ParallelPort.
A PARALLEL_PNP_INFORMATION structure.
Input Buffer Length
The Parameters.DeviceIoControl.OutputBufferLength member is set to the size, in bytes, of a PARALLEL_PORT_INFORMATION structure.
The AssociatedIrp.SystemBuffer member points to a PARALLEL_PNP_INFORMATION structure that the client allocates to output the parallel port information.
Output Buffer Length
The size of a PARALLEL_PNP_INFORMATION structure.
If this request succeeds, the Information member is set to the size, in bytes, of a PARALLEL_PNP_INFORMATION structure. Otherwise, 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 the following value:
|Header||parallel.h (include Parallel.h)|