IOCTL_INTERNAL_LOCK_PORT_NO_SELECT IOCTL (parallel.h)

The IOCTL_INTERNAL_LOCK_PORT_NO_SELECT request allocates the parallel device's parent parallel port, but does not select the parallel device.

This request is only supported in Windows XP and later.

For more information, see Locking and Unlocking a ParallelPort for Use by a Parallel Device.

Major code

IRP_MJ_INTERNAL_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 devices.

Requirements

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

See also

IOCTL_INTERNAL_UNLOCK_PORT_NO_DESELECT

IOCTL_INTERNAL_UNLOCK_PORT

IOCTL_INTERNAL_LOCK_PORT