INF File Processing Functions
The INF file processing functions provide setup and installation functionality that includes the following:
Opening and closing an INF file.
Retrieving information about an INF file.
Retrieving information about source files and target directories for copy operations.
Performing the installation actions specified in an INF file section.
The following table lists the functions that are used for processing INF files. For detailed function descriptions, see the Microsoft Windows SDK documentation.
Function | Description |
---|---|
Executes a specified section in a specified INF file. |
|
Frees resources and closes the INF handle. |
|
Stages a driver package in the Driver Store. |
|
Copies a file and, if necessary, decompresses it. |
|
Finds a pointer to the first line in a section of an INF file or, if a key is specified, the first line that matches the key. |
|
Returns a pointer to the next line in an INF file section. |
|
Returns a pointer to the next line in an INF file section or, if a key is specified, the next line that matches the key. |
|
Retrieves binary data from a field in a specified line, in an INF file. |
|
Returns the number of fields in a line. |
|
Retrieves file compression information from an INF file. |
|
Retrieves the fully qualified file name (directory path and file name) of an INF file in the Driver Store that corresponds to a specified INF file in the system INF file directory or a specified INF file in the driver store. |
|
Returns a list of the INF files in a specified directory. |
|
Returns information about an INF file. |
|
Obtains the integer value of a specified field in a specified line, in an INF file. |
|
Retrieves the fully qualified name (directory path and file name) of an INF file in the system INF file directory that corresponds to a specified INF file in the system INF file directory or a specified INF file in the Driver Store. |
|
Returns a pointer to the line associated with a specified index value in a specified section. |
|
Returns the number of lines in the specified section. |
|
Retrieves the contents of a specified line from an INF file. |
|
Returns multiple strings, starting at a specified field in a line. |
|
Returns the location of a source file that is listed in an INF file. |
|
Returns the size of a specified file or a set of files that are listed in a specified section of an INF file. |
|
Retrieves the path, tag file, or description for a source. |
|
Retrieves string data from a field in a specified line, in an INF file. |
|
Determines the target path for the files that are listed in a specified INF file section. |
|
Installs a specified file into a specific target directory. |
|
Installs a specified file into a specific target directory. The installation is postponed if an existing version of the file is in use. |
|
Queues the files in a specified INF file section for copying. (Same as SetupQueueCopySection.) |
|
Performs the directives specified in an INF DDInstall section. |
|
Performs service installation and deletion operations as specified in an INF DDInstall.Services section. |
|
Opens an INF file and appends it to an existing INF handle. |
|
Opens an INF file and returns a handle to it. |
|
Opens the master INF file that contains file and layout information for files that were included with the default installation of the operating system. |
|
Returns the name of one of the constituent INF files of a specified INF file. |
|
Returns the version number of one of the constituent INF files of a specified INF file. |
|
Assigns a directory ID (DIRID) to a specified directory. |
|
Uninstalls a specified INF file, and deletes the associated .pnf and .cat files, if they exist. |
|
Verifies that a digitally-signed INF file has not been modified. (Windows XP and later.) |