Retrieving Information From an INF File

After you have a handle to an INF file, you can retrieve information from it in a variety of ways. Functions such as SetupGetInfInformation, SetupQueryInfFileInformation, and SetupQueryInfVersionInformation retrieve information about the INF file itself.

Other functions such as SetupGetSourceInfo and SetupGetTargetPath acquire information about the source files and target directories.

Low-level functions like SetupGetLineText and SetupGetStringField enable you to directly access information stored in a line or field of an INF file. These functions are used internally by the higher-level functions, but are also available should you need to access INF information at the line or field level.