IOCTL_INTERNAL_PARALLEL_PORT_ALLOCATE IOCTL

The IOCTL_INTERNAL_PARALLEL_PORT_ALLOCATE request allocates a parallel port for exclusive access by a client. Before accessing port hardware, a client must first allocate it.

For more information, see Synchronizing the Use of a ParallelPort.

Major Code

IRP_MJ_DEVICE_CONTROL

Input Buffer

None.

Input Buffer Length

None.

Output Buffer

None.

Output Buffer Length

None.

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.

Requirements

   
Header parallel.h (include Parallel.h)

See Also

IOCTL_INTERNAL_PARALLEL_PORT_FREE