ZOYKU火线榜

ramensoftware/windhawk技术文档

ramensoftware/windhawk open-source repository on GitHub

目录大纲 (TOC) (3 章节)▾
多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
cargo add windhawk

Windhawk

Screenshot

Windhawk aims to make it easier to customize Windows programs. For more details, see the official website and the announcement.

This repository is used to report issues and to discuss Windhawk. For discussing Windhawk mods, refer to the windhawk-mods repository.

You're also welcome to join the Windhawk Discord channel for a live discussion.

Technical details

High level architecture:

High level architecture diagram

For technical details about the global injection and hooking method that is used, refer to the following blog post: Implementing Global Injection and Hooking in Windows.

Source code

The Windhawk source code can be found in the src folder, which contains the following subfolders:

  • windhawk: The code of the main windhawk.exe executable and the 32-bit and 64-bit windhawk.dll engine libraries.

  • vscode-windhawk: The code of the VSCode extension that is responsible for UI operations such as installing mods and listing installed mods.

  • vscode-windhawk-ui: The UI part of the VSCode extension.

A simple way to get started is by extracting the portable version of Windhawk with the official installer, building the part of Windhawk that you want to modify, and then replacing the corresponding files in the portable version with the newly built files.

Additional resources

Code which demonstrates the global injection and hooking method that is used can be found in this repository: global-inject-demo.

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-07