InfVerif

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.

When you build a driver in Microsoft Visual Studio 2015 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

Topic Description

Running InfVerif from the command line

This topic lists the options that are available when you run InfVerif.exe from the command line.

INF Validation Errors and Warnings

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.

Related topics

Installing a Universal Windows driver

Using a Universal INF File