5 SampleSimple
Brian Gianforcaro редактировал(а) эту страницу 2020-08-22 00:25:06 -07:00

Simple

Simplest example of a Detours-based DLL which modifies and adds functionality to a Windows API. Modifies the Sleep API to record the number of ticks spent sleeping.

The Simple example is described in more detail in Using Detours.

Source is located in the /samples/simple directory.

Uses

DetourAttach, DetourDetach, DetourTransactionBegin, DetourTransactionCommit, DetourUpdateThread.