IOCTL_INTERNAL_PARCLASS_CONNECT IOCTL

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.

Major Code

IRP_MJ_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.

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:

Requirements

   
Header parallel.h (include Parallel.h)

See Also

PARCLASS_INFORMATION

IOCTL_INTERNAL_PARCLASS_DISCONNECT