PORT_INFO_1 structure

The PORT_INFO_1 structure identifies a supported printer port.

Syntax

typedef struct _PORT_INFO_1 {
  LPTSTR pName;
} PORT_INFO_1, *PPORT_INFO_1;

Members

pName

Pointer to a null-terminated string that identifies a supported printer port (for example, "LPT1:").

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Winspool.h (include Windows.h)
Unicode and ANSI names
_PORT_INFO_1W (Unicode) and _PORT_INFO_1A (ANSI)

See also

Printing

Print Spooler API Structures

EnumPorts