// parallel.h
// CTL_CODE(0x0016, 0x025, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_LOCK_PORT 0x00160094
View the official Windows Driver Kit DDI referenceNo description available.
The IOCTL_INTERNAL_LOCK_PORT request allocates the parallel device's parent parallel port and selects the parallel device on the port.
For more information, see Locking and Unlocking a ParallelPort for Use by a Parallel Device.
IRP_MJ_INTERNAL_DEVICE_CONTROL
None.
None.
None.
None.
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.
IOCTL_INTERNAL_UNLOCK_PORT_NO_DESELECT
IOCTL_INTERNAL_LOCK_PORT_NO_SELECT