Information générale
Catégorie:
Fonctions Windows API
Versions des environnements
>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!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement