View Full Version : Parsing INF files

09-04-2008, 06:14 PM
Hi I am trying to build a program for mass remote network printer installs. I have most of the code built in a algorithm so far, but in order to make use of the windows api's for installing printers I need to be able to parse out the driver names from INF files. I am sure in all the windows code there has to be something that does this because the driver wizard seems to manage it pretty easily.

Does anyone know a function/api that can pull the driver name(s) from a given INF file?

09-07-2008, 07:59 PM
Unfortunately most .inf file parsing is done by unique functions that vary from program to program. Since driver .inf files are a standard I would google it. It's possible that someone has already written a library of functions to deal with that exact problem.