Skip to content

Latest commit

 

History

History
141 lines (90 loc) · 5.39 KB

ns-parallel-_parallel_port_information.md

File metadata and controls

141 lines (90 loc) · 5.39 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NS:parallel._PARALLEL_PORT_INFORMATION
_PARALLEL_PORT_INFORMATION (parallel.h)
The PARALLEL_PORT_INFORMATION structure specifies information about the resources assigned to a parallel port, the capabilities of the parallel port, and pointers to callback routines that a kernel-mode driver can use to operate the parallel port.
parports\parallel_port_information.htm
parports
02/15/2018
PARALLEL_PORT_INFORMATION structure
*PPARALLEL_PORT_INFORMATION, PARALLEL_PORT_INFORMATION, PARALLEL_PORT_INFORMATION structure [Parallel Ports], PPARALLEL_PORT_INFORMATION, PPARALLEL_PORT_INFORMATION structure pointer [Parallel Ports], _PARALLEL_PORT_INFORMATION, cisspd_ca857237-0c57-46e9-aedf-f6d40a25dbf8.xml, parallel/PARALLEL_PORT_INFORMATION, parallel/PPARALLEL_PORT_INFORMATION, parports.parallel_port_information
parallel.h
Parallel.h
Windows
Windows
PARALLEL_PORT_INFORMATION, *PPARALLEL_PORT_INFORMATION
_PARALLEL_PORT_INFORMATION
parallel/_PARALLEL_PORT_INFORMATION
PPARALLEL_PORT_INFORMATION
parallel/PPARALLEL_PORT_INFORMATION
PARALLEL_PORT_INFORMATION
parallel/PARALLEL_PORT_INFORMATION
APIRef
kbSyntax
HeaderDef
parallel.h
_PARALLEL_PORT_INFORMATION
PPARALLEL_PORT_INFORMATION
PARALLEL_PORT_INFORMATION

_PARALLEL_PORT_INFORMATION structure

-description

The PARALLEL_PORT_INFORMATION structure specifies information about the resources assigned to a parallel port, the capabilities of the parallel port, and pointers to callback routines that a kernel-mode driver can use to operate the parallel port.

-struct-fields

-field OriginalController

Specifies the bus relative base I/O address of the parallel port registers.

-field Controller

Pointer to the system-mapped base I/O location of the parallel port registers.

-field SpanOfController

Specifies the size, in bytes, of the I/O space, allocated to the parallel port.

-field TryAllocatePort

Pointer to the system-supplied PPARALLEL_TRY_ALLOCATE_ROUTINE callback that a kernel-mode driver can use to attempt to allocate the parallel port.

-field FreePort

Pointer to the system-supplied PPARALLEL_FREE_ROUTINE callback that a kernel-mode driver can use to free the parallel port.

-field QueryNumWaiters

Pointer to the system-supplied PPARALLEL_QUERY_WAITERS_ROUTINE callback that a kernel-mode driver can use to determine the number of requests on the work queue of the parallel port.

-field Context

Pointer to the device extension of parallel port.

-syntax

typedef struct _PARALLEL_PORT_INFORMATION {
  PHYSICAL_ADDRESS                OriginalController;
  PUCHAR                          Controller;
  ULONG                           SpanOfController;
  PPARALLEL_TRY_ALLOCATE_ROUTINE  TryAllocatePort;
  PPARALLEL_FREE_ROUTINE          FreePort;
  PPARALLEL_QUERY_WAITERS_ROUTINE QueryNumWaiters;
  PVOID                           Context;
} PARALLEL_PORT_INFORMATION, *PPARALLEL_PORT_INFORMATION;

-remarks

An IRP_MN_START_DEVICE request from the Plug and Play manager passes a translated resource list that contains the port information in a PARALLEL_PORT_INFORMATION structure. The system-supplied function driver for parallel ports saves the information in the extension of the parallel port and returns the information in response to an IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO request.

For more information, see Obtaining Information About a ParallelPort.

-see-also

PPARALLEL_TRY_ALLOCATE_ROUTINE

IRP_MN_START_DEVICE

IOCTL_INTERNAL_GET_PARALLEL_PORT_INFO

PPARALLEL_FREE_ROUTINE

IOCTL_INTERNAL_GET_MORE_PARALLEL_PORT_INFO

PARALLEL_PNP_INFORMATION

MORE_PARALLEL_PORT_INFORMATION

IOCTL_INTERNAL_GET_PARALLEL_PNP_INFO

PPARALLEL_QUERY_WAITERS_ROUTINE