How to add a printer port on NT non-interactivly?
Posted on 1997-06-02
this is my first question here.
I have a problem on NT 4.0 :
I want to add a printer port without poping up the dialog box of AddPort and without a reboot. Just like the AddPort but without user interactions. The user should not realize that a port is installed.
I found a call AddPortEx in DDK, but not in the Win32 SDK. Nevertheless I tried but the call never returns. To be honest : as expected ...
Now my question : Does anybody know how to use this call (prerequesites) or maybe a better way to install a printer port non-interactivly ?
Any help is appreciated