microsoft/Detours
Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form. observed · 2026-08-28
Health v2 · maintenance only
67/100
- Activity 99
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3605
- days_rel: n/a
- days_push: 9
- n_releases_24m: 0
Adoption not part of the score
6364 stars · 1165 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Microsoft Detours is a C++ library for intercepting, monitoring, and instrumenting Win32 API calls on Windows via function hooking and binary rewriting. It is distributed in source form and used by ISVs and Microsoft product teams.
Use cases
- hook win32 api calls in my application
- monitor which dll functions a windows process calls
- instrument native windows code for profiling
- redirect api calls to my own implementation on windows
- build a windows api tracer or debugger extension
- patch a loaded dll's function at runtime
When to choose
- you need low-level API interception on Windows NT-family systems
- you want a mature, MIT-licensed hooking library maintained by Microsoft
- you're building instrumentation, monitoring, or compatibility-shim tooling for native Windows apps
When to avoid
- you're building a Windows Store (UWP) app, which Detours cannot support
- you need API hooking on Linux or macOS
- you want a high-level managed (.NET) hooking solution
Facets
library · maturity stable
monitoring security reverse-engineering developer-tools operating-systems developer-tools security windows windows cpp c api-hooking instrumentation interception binary-rewriting native-code
1 source
- readme: https://github.com/microsoft/Detours · fetched 2026-08-28 · a8c8b6bd3f11
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/Detours | main | 67 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/Detours")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem