Interesting, I never knew that Process Monitor has had an API to send messages to, but it has had this ability for almost 5 years: See the I/O You Caused by Getting Your Diagnostic Tracing into Process Monitor | Wintellect.
I did know about OutputDebugString and the DBWIN protocols, but this was new.
The ZIP file for Process Monitor is offline (but you can find it by searching for ProcMonDebugOutput.zip), and contains .h files and a .NET example.
Thanks Oliver Giesen for the Delphi translation!
–jeroen
via: Interface unit for sending debug messages to SysInternals ProcessMonitor « bl.OGware.
Filed under: .NET, .NET 2.0, .NET 3.0, .NET 3.5, .NET 4.0, .NET 4.5, C#, C# 2.0, C# 3.0, C# 4.0, C# 5.0, Delphi, Delphi 5, Delphi 6, Delphi 7, Delphi XE, Delphi XE2, Delphi XE3, Delphi XE4, Delphi XE5, Development, Software Development