Hi,
I was required to make a custom printer wizard, that is, an applications capable of installing printers the same way AddPrinter wizard does, with slight modifications ( one of them is to install printers on multiple computers in a single wizard session ). After looking thru the docu’s I’ve come to the idea that I’ll have to use the the AddPrinter, AddPrinterDriver etc functions and the Setup API to fill the neeeded structures from the .inf file. By now I have finished a test app which is working for most .infs. However in some inf files I encountered section items that I wasn’t able to find documentation on. One of them is ‘include’ in the install section. It’s like: Include=NTPRINT.INF Although the meaning seems rather obvious, I’d really like to know exactly how should I interpret this item.
I’ve read that for AddWizard all these actions are executed by code in ntprint.dll. How can I know how this one is interpreting each section and section item?
And besides I have the feeling that I’m trying to reinvent the wheel, I mean if this code is already available in ntprint.dll, where can I find some reference on ntprint.dll’s exports so that I call them from my wizard and not deal directly with this inf nightmare. I was looking at the exports’ names and they look very pretty friendly to my purposes :). I know I can’t get the header out of the dll. Were the Microsoft programmers so selfish to keep them for themselves or there is though a reference somewhere?
And the same I would like to ask for all system dlls, some are documented in the API docu, some are not.
Thank you very much for your time and I apologize if I got the the wrong mailing list
Lucian
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com