IOCTL_INTERNAL_PARCLASS_CONNECT - NtDoc

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

// CTL_CODE(0x0016, 0x01e, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_PARCLASS_CONNECT 0x00160078
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_PARCLASS_CONNECT IOCTL

Major Code:

IRP_MJ_DEVICE_CONTROL

Description

The IOCTL_INTERNAL_PARCLASS_CONNECT request returns information about a parallel port and the callback routines that the system-supplied bus driver for parallel ports provides to operate the parallel port.

For more information, see Connecting to a Parallel Device.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

A PARCLASS_INFORMATION structure.

Input buffer length

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

Output buffer

The AssociatedIrp.SystemBuffer member points to a PARCLASS_INFORMATION structure that the client allocates to output information.

Output buffer length

The size of a PARCLASS_INFORMATION structure.

Input/output buffer

Input/output buffer length

Status block

If the request is successful, the Information member is set to the size, in bytes, of a PARCLASS_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 devices 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 PARCLASS_INFORMATION structure.

See also

PARCLASS_INFORMATION

IOCTL_INTERNAL_PARCLASS_DISCONNECT