Samples: Tracelnk
From Microsoft Research Detours
Tracelnk
Traces all calls to the Windows dynamic linking APIs. Output from the trace is logged to the syelogd.exe deamon.
Uses
DetourAttach, DetourDetach, DetourEnumerateModules, DetourTransactionBegin, DetourTransactionCommit, DetourUpdateThread.