.tmh is Trace message header
Key Features: .TMH File Extension
|Created by||Microsoft Corporation|
|Category||Source code and script|
What is an .TMH file?
The trace message header (TMH) file is a text file that contains declarations of functions and variables used by the tracing code that WPP generates. The header file also includes macros that add trace message formatting instructions to a PDB file of a trace provider, such as a kernel-mode driver or user-mode application.
WPP generates the tmh file automatically when you compile a trace provider that includes WPP macros. The thm file has the same name as the source file, but with a .tmh file name extension. WPP saves the file in the same directory as the source file.