Skip to content

SampleSlept

Galen Hunt edited this page Nov 2, 2016 · 4 revisions

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.

Clone this wiki locally