Microsoft Detours
Original author(s)Microsoft Research
Initial releaseJanuary 16, 2002; 20 years ago (2002-01-16)
Stable release
4.0.1 / April 16, 2018; 4 years ago (2018-04-16)
RepositoryDetours on GitHub
Written inC++
Operating systemMicrosoft Windows
TypeSoftware library
LicenseMIT License
WebsiteOfficial website Edit this at Wikidata

Microsoft Detours is an open source library for intercepting, monitoring and instrumenting binary functions on Microsoft Windows.[1] It is developed by Microsoft and is most commonly used to intercept Win32 API calls within Windows applications. Detours makes it possible to add debugging instrumentation and to attach arbitrary DLLs to any existing Win32 binary. Detours does not require other software frameworks as a dependency and works on ARM, x86, x64, and IA-64 systems. The interception code is applied dynamically at execution time.

Detours is used by product teams at Microsoft and has also been used by ISVs.[1][2][3]

Prior to 2016, Detours was available in a free version limited for non-commercial and 32 bit only use and a paid version for commercial use.[4] Since 2016, the source code is licensed under MIT License and available on GitHub.[1]

See also


  1. ^ a b c "Microsoft Research Detours Package". microsoft/Detours. January 16, 2021 – via GitHub.
  2. ^ "MS Detours: Ongoing vigilance keeps customers on the right track". September 10, 2013.
  3. ^ "Service and Support".
  4. ^ "Detours".

Further reading