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
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
