1. Home
  2. ›
  3. Browse
  4. ›
  5. detours

detours

v2026-09-29#0Latest

Detours is a software package for monitoring and instrumenting API calls on Windows.

Install

Run the following Vcpkg command to install the port.

vcpkg install detours

Usage

detours can be used from CMake via:

find_path(DETOURS_INCLUDE_DIRS "detours/detours.h")
find_library(DETOURS_LIBRARY detours REQUIRED)
target_include_directories(main PRIVATE ${DETOURS_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${DETOURS_LIBRARY})
See source

Version

v2026-09-29#0

Publication

Supports

windows & !uwp

GitHub

microsoft/Detours

Homepage

github.com/microsoft/Detours

Subtree

1c7dcbd51d

License

MIT

Definition

Manifest