# TsudaKageyu/minhook

The Minimalistic x86/x64 API Hooking Library for Windows

Repository: https://github.com/TsudaKageyu/minhook
Canonical: https://ross.abutalabs.com/products/minhook
Homepage: http://www.codeproject.com/KB/winsdk/LibMinHook.aspx
Language: C
License: NOASSERTION
License Family: other
Last push: 2026-06-13T20:02:43+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 87, release rhythm 8, longevity 100
- inputs: {"age_days": 4863, "days_push": 81, "days_rel": 523, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5955, forks 1079 (observed 2026-08-28T04:09:33.686610+00:00)

## What it is
MinHook is a minimalistic, lightweight C library for intercepting (hooking) x86 and x64 function calls on Windows, using a trampoline/detour mechanism similar to Microsoft Detours. It provides a simple API to create, enable, disable, and remove hooks on arbitrary functions or Win32 APIs from user-mode code.

## Use cases
- hook winapi functions on windows
- intercept calls to a dll function
- api hooking library alternative to microsoft detours
- create a directx overlay by hooking present
- redirect a windows api call to my own implementation
- monitor or log function calls in a native application

## When to choose
- You need user-mode function hooking on Windows for both x86 and x64
- You want a tiny footprint and a plain C API with no dependencies
- You prefer a permissive BSD-2-Clause license over Microsoft Detours' licensing
- You need an easy-to-integrate library with CMake, NuGet, MinGW, and Visual Studio support

## When to avoid
- You need hooking on Linux, macOS, or other non-Windows platforms
- You require ARM64 or other non-x86/x64 architectures
- You need kernel-mode or driver-level hooking
- You need managed/.NET runtime hooking rather than native function detours

## Facets
- artifact type: library
- maturity: stable
- function: reverse-engineering, security, developer-tools
- domain: security, developer-tools, gaming-tools, operating-systems
- platform: windows, cpp
- tags: api-hooking, function-interception, detours, trampoline, x86, x64, winapi, dll-injection, game-modding, user-mode-hooking, cmake, mingw

## Member repositories
- TsudaKageyu/minhook (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:33.686610+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:50:42.404727+00:00, confidence not recorded.
  - readme: https://github.com/TsudaKageyu/minhook (fetched 2026-08-28T04:09:33.686610+00:00, sha 9aac829a1c8b)
  - homepage: http://www.codeproject.com/KB/winsdk/LibMinHook.aspx (fetched 2026-08-29T08:46:09.989516+00:00, sha 44136fa355b3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
