Samples: Traceser
From Microsoft Research Detours
Traceser
Traces activity through the serial ports (com1 or com2). Output from the trace is logged to the syelogd.exe deamon.
Uses
DetourAttach, DetourCreateProcessWithDllEx, DetourDetach, DetourTransactionBegin, DetourTransactionCommit, DetourUpdateThread.