InfVerif

InfVerif (InfVerif.exe) is a tool that you can use to test a driver INF file. InfVerif works by passing your INF through the same INF parser that the OS uses, with logging and error checking turned up to maximum.

Note

InfVerif replaces the ChkINF tool.

When you build a driver in Microsoft Visual Studio 2015 with Windows Driver Kit (WDK) 10 and later versions, 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\.

InfVerif reports errors and warnings based on the mode and rules supplied by the parameters. Errors should be considered "must fix". Warnings can be ignored if they are fully understood, but they are often symptoms of another problem. For instance, a warning about a section being unused could be a symptom of an INF directive being invoked incorrectly.

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.

InfVerif /h

This topic lists details about the InfVerif mode required for a WHQL signature from Hardware Dev Center.

Getting Started with Universal Windows drivers

Using a Universal INF File

Driver Package Isolation