Retrieving Information from an INF File

Once 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 specified INF file.

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

Functions such as SetupGetLineText and SetupGetStringField enable you to directly access information that is stored in a line or field of an INF file. These functions are used internally by the higher-level SetupAPI functions but are available if you have to directly access information at the line or field level.