Slept
More ellaborate version of the simple sample. Demonstrates detouring both static and dynamic functions. Also demonstrates how to capture program execution after DLL initialization by detouring the programs entry point.
Uses
DetourAttach, DetourCodeFromPointer, DetourDetach, DetourGetEntryPoint, DetourTransactionBegin, DetourTransactionCommit, DetourUpdateThread.