InfVerif (InfVerif.exe) is a tool that you can use to test a driver INF file. In addition to reporting INF syntax problems, the tool reports if the INF file is universal.
InfVerif replaces the ChkINF tool.
When you build a driver in Microsoft Visual Studio 2017 with Windows Driver Kit (WDK) 10, the compiler runs the tool automatically as part of the build process. Alternatively, you can run the InfVerif.exe tool from the command line.
The verification tool is part of the WDK 10 installation, and can be found in the \tools subdirectory of your WDK 10 installation, c:\Program Files(x86)\Windows Kits\10\tools\.
The InfVerif tool reports the following types of errors/warnings:
Errors/Warnings (1200-1299): These issues do not prevent your driver package from being installed, but they do indicate that specific lines of your INF are not being executed when the driver is installed.
Issues that make an INF non-universal. (1300-1309)
Warnings (2000-2999): These issues are always reported as warnings.
In this section
This topic lists the options that are available when you run InfVerif.exe from the command line.
This topic describes driver installation errors and warnings that can appear as a result of the automatic INF verification that Visual Studio performs, or when you run the InfVerif tool.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.