IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// parallel.h

// CTL_CODE(0x0016, 0x00c, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO 0x00160030
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ni-parallel-ioctl_internal_get_parallel_port_info)

IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO IOCTL

Major Code:

IRP_MJ_DEVICE_CONTROL

Description

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.

Parameters

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_PORT_INFORMATION structure.

Output buffer

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.

Input/output buffer

Input/output buffer length

Status block

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:

STATUS_BUFFER_TOO_SMALL

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

See also

PARALLEL_PORT_INFORMATION

IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO

IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO