The PORT_INFO_1 structure identifies a supported printer port.
typedef struct _PORT_INFO_1 { // pi1 LPTSTR pName; } PORT_INFO_1;
EnumPorts