ntddpar.h header

This header is used by parports. For more information, see:

ntddpar.h contains the following programming interfaces:

IOCTLs

 
IOCTL_IEEE1284_GET_MODE

The IOCTL_IEEE1284_GET_MODE request returns the IEEE 1284 read and write protocols that are currently set for a parallel device.
IOCTL_IEEE1284_NEGOTIATE

The IOCTL_IEEE1284_NEGOTIATE request sets the read and write protocols that are used for a parallel device.
IOCTL_PAR_GET_DEFAULT_MODES

The IOCTL_PAR_GET_DEFAULT_MODES request returns the default write (forward) and read (reverse) IEEE 1284 protocols that the system-supplied bus driver for parallel ports uses.
IOCTL_PAR_GET_DEVICE_CAPS

The IOCTL_PAR_GET_DEVICE_CAPS request does the following:Specifies the protocols that the system-supplied bus driver for parallel ports must not use with a parallel deviceReturns the operating protocols that the parallel device supportsFor more information, see Setting and Clearing a Communication Mode for a Parallel Device.
IOCTL_PAR_IS_PORT_FREE

The IOCTL_PAR_IS_PORT_FREE request determines if a parallel device's parent parallel port is free at the time the system-supplied bus driver for parallel ports processes the request.
IOCTL_PAR_QUERY_DEVICE_ID

The IOCTL_PAR_QUERY_DEVICE_ID request returns the IEEE 1284 device ID of a parallel device assigned by the system-supplied function driver for parallel ports.
IOCTL_PAR_QUERY_DEVICE_ID_SIZE

The IOCTL_PAR_QUERY_DEVICE_ID_SIZE request returns the size, in bytes, of a buffer that can hold a device's IEEE 1284 device ID and a NULL terminator.
IOCTL_PAR_QUERY_INFORMATION

The IOCTL_PAR_QUERY_INFORMATION request returns the status of an IEEE 1284 end-of-chain device.
IOCTL_PAR_QUERY_LOCATION

The IOCTL_PAR_QUERY_LOCATION request returns the "LPTn" or "LPTn.m" symbolic link name associated with a parallel device.
IOCTL_PAR_QUERY_RAW_DEVICE_ID

The IOCTL_PAR_QUERY_RAW_DEVICE_ID request returns a raw device ID, which includes the following:_a two-byte prefix that specifies the size, in bytes, of the device's IEEE 1284 device ID; the IEEE 1284 device ID; and a NULL terminator.
IOCTL_PAR_SET_INFORMATION

The IOCTL_PAR_SET_INFORMATION request resets and initializes a parallel device.
IOCTL_PAR_SET_READ_ADDRESS

The IOCTL_PAR_SET_READ_ADDRESS request sets an extended capabilities port (ECP) or enhanced parallel port (EPP) read address (channel) for a parallel device.
IOCTL_PAR_SET_WRITE_ADDRESS

The IOCTL_PAR_SET_WRITE_ADDRESS request sets an extended capabilities port (ECP) or enhanced parallel port (EPP) write address (channel) for a parallel device. The parallel port bus driver queues this request on a work queue for the parallel device.

Structures

 
PAR_DEVICE_ID_SIZE_INFORMATION

The PAR_DEVICE_ID_SIZE_INFORMATION structure specifies the size, in bytes, of a buffer that can hold the IEEE 1284 device ID of a parallel device and a NULL terminator.
PAR_QUERY_INFORMATION

The PAR_QUERY_INFORMATION structure specifies the operating status of a parallel port.
PAR_SET_INFORMATION

The PAR_SET_INFORMATION structure specifies the initial operating status of a parallel port.
PARCLASS_NEGOTIATION_MASK

The PARCLASS_NEGOTIATION_MASK structure specifies the read and write protocols that a driver selects for a parallel device.