IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO IOCTL (parallel.h)

The IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO request returns Plug and Play information about a parallel port.

For more information, see Obtaining Information About a ParallelPort.

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

A PARALLEL_PNP_INFORMATION structure.

Input buffer length

The Parameters.DeviceIoControl.OutputBufferLength member is set to the size, in bytes, of a PARALLEL_PNP_INFORMATION structure.

Output buffer

The AssociatedIrp.SystemBuffer member points to a PARALLEL_PNP_INFORMATION structure that the client allocates to output Plug and Play information.

Output buffer length

The size of a PARALLEL_PNP_INFORMATION structure.

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 the following value:

STATUS_BUFFER_TOO_SMALL

The value of Parameters.DeviceIoControl.OutputBufferLength is less than the size, in bytes, of a PARALLEL_PNP_INFORMATION structure.

Requirements

Requirement Value
Header parallel.h (include Parallel.h)

See also

IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO

IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO

PARALLEL_PNP_INFORMATION