// add port to system
sKeyNew1 = "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Ports";
RegDBSetKeyValueEx(sKeyNew1, sPrinterPort, REGDB_STRING, "", -1);
The new port does not appear in standard printer config dialogs until AFTER
a reboot.
--BB
"Fai" <ger...@schednet.com> wrote in message
news:3bfc539c$1...@news.installshield.com...
> Hi,
>
> I need add a local port in Win2k for a printer driver. Can anyone know how
> to add ?
> Thanks
>
> Fai
>
>