Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Add Port ??

2 views
Skip to first unread message

Brian Bergstrom

unread,
Nov 26, 2001, 6:40:19 PM11/26/01
to
I use the following code to add a printer port:

// 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
>
>


0 new messages