IOCTL_INTERNAL_PARALLEL_PORT_FREE - NtDoc

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

// CTL_CODE(0x0016, 0x028, METHOD_BUFFERED, FILE_ANY_ACCESS)
#define IOCTL_INTERNAL_PARALLEL_PORT_FREE 0x001600A0
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

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

IOCTL_INTERNAL_PARALLEL_PORT_FREE IOCTL

Major Code:

IRP_MJ_DEVICE_CONTROL

Description

The IOCTL_INTERNAL_PARALLEL_PORT_FREE request frees a parallel port. After using a parallel port, a client must free it. Microsoft recommends using the system-supplied PPARALLEL_FREE_ROUTINE callback to free a parallel port because there is no functional advantage to using an IOCTL_INTERNAL_PARALLEL_PORT_FREE request to free the port.

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

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

See also

IOCTL_INTERNAL_PARALLEL_PORT_ALLOCATE

PPARALLEL_FREE_ROUTINE