IOCTL_INTERNAL_LOCK_PORT_NO_SELECT - NtDoc

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

// CTL_CODE(0x0016, 0x034, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_LOCK_PORT_NO_SELECT 0x001600D0
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_LOCK_PORT_NO_SELECT IOCTL

Major Code:

IRP_MJ_DEVICE_CONTROL

Description

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.

Parameters

Major code

IRP_MJ_INTERNAL_DEVICE_CONTROL

Input buffer

None.

Input buffer length

None.

Output buffer

None.

Output buffer length

None.

Input/output buffer

Input/output buffer length

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.

See also

IOCTL_INTERNAL_UNLOCK_PORT_NO_DESELECT

IOCTL_INTERNAL_UNLOCK_PORT

IOCTL_INTERNAL_LOCK_PORT