General information
Category:
Windows API functions
>Hi Gunnar,
>
>> this has to happen in the background. if i read this right "AddPortEx()" is the function to be used.
>
>Hmm, my MSDN documentation says that AddPortEx is only for use with Windows NT 4.0 and it's optional for port monitors to implement. I'm not sure if port monitors that come with later versions still support this function.
>
>>do you know how to do this?
>
>No, unfortunately I don't. Adding printers on the fly is something I haven't yet had to do. However, the documentation for AddPort suggests, that XcvData can be used to add a port without user invention.
hmm, didn't see that about the Nt4, oh well, ja doesn't look like this is gonna work.
but Sergey just replied to me with a very interesting article from Rick talking about "PrintUi.dll". this looks like it'll do anything i need (and esyear then my approach). i was worried that its limited to a 'some' windows versions only. but Rick, at the end of the article, talks about Windows 98 and Nt, so i think its ok, got to test it.
Thanks Christof & Sergey!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only