!wdfkd.wdfsearchpath

The !wdfkd.wdfsearchpath extension sets the search path to formatting files for Kernel-Mode Driver Framework (KMDF) error log records.

!wdfkd.wdfsearchpath Path

Parameters

Path
The path of a directory that contains KMDF formatting files.

DLL

Wdfkd.dll

Frameworks

KMDF 1, UMDF 2

Additional Information

For more information, see Kernel-Mode Driver Framework Debugging.

Remarks

The KMDF formatting files are included in the Windows Driver Kit (WDK). The path to the formatting files depends on the installation directory of your WDK and on the version of the WDK that you have installed. The KMDF formatting files have extension tmf (trace message formatting). To determine the search path, browse or search your WDK installation for file names of the form WdfVersionNumber.tmf. The following example shows how to use the !wdfkd.wdfsearchpath extension.

kd> !wdfsearchpath C:\WinDDK\7600\tools\tracing\amd64

The TRACE_FORMAT_SEARCH_PATH environment variable also controls the search path, but the !wdfkd.wdfsearchpath extension takes precedence over the search path that TRACE_FORMAT_SEARCH_PATH specifies.