{
switch (var)
{
case PST_FAX:
tupePort = L"PST_FAX";
break;
case PST_LAT:
tupePort = L"PST_LAT";
break;
case PST_MODEM:
tupePort = L"PST_MODEM";
break;
case PST_NETWORK_BRIDGE:
tupePort = L"PST_NETWORK_BRIDGE";
break;
case PST_PARALLELPORT:
tupePort = L"PST_PARALLELPORT";
break;
case PST_RS232:
tupePort = L"PST_RS232";
break;
case PST_RS422:
tupePort = L"PST_RS422";
break;
case PST_RS423:
tupePort = L"PST_RS423";
break;
case PST_RS449:
tupePort = L"PST_RS449";
break;
case PST_SCANNER:
tupePort = L"PST_SCANNER";
break;
case PST_TCPIP_TELNET:
tupePort = L"PST_TCPIP_TELNET";
break;
case PST_UNSPECIFIED:
tupePort = L"PST_UNSPECIFIED";
break;
case PST_X25:
tupePort = L"PST_X25";
break;
define:
tupePort = L"";
break;
}