Obtaining Information About a Parallel Port
Before a client uses a parallel port, it can obtain information about the following:
Resources used by the parallel port
Hardware capabilities of the parallel port
Parallel port callback routines that a kernel-mode driver can use
A client uses the following internal device control requests to obtain the above information:
IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO
IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO
IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO
A client releases parallel port information by using an IOCTL_INTERNAL_RELEASE_PARALLEL_PORT_INFO request.