Registry / other / easyhook

easyhook

JSON →
library2.7.7097.0vcpkgunverified

Library for extending (hooking) unmanaged code APIs from managed environments on Windows.

vcpkg install easyhook
INSTALL
IMPORT
SIG · EASYHOOK
E
easyhook
othercppv2.7.7097.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

easyhook.h
#include <easyhook.h>

Install a hook on a Windows API function.

#include <easyhook.h> int main() { // Example: hook a function (simplified) HOOK_TRACE_INFO hHook = {0}; LhInstallHook(GetProcAddress(GetModuleHandle(TEXT("kernel32")), "Sleep"), MySleepHook, nullptr, &hHook); LhSetInclusiveACL({1}, 1, &hHook); return 0; }
Debug
Known issues
gotchaEasyHook is Windows-only and requires administrative privileges for some operations.
fix
Run as administrator if hooking system-wide APIs.
affects: *
Upgrade
Version history
2.7.7097.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Amazon
1
Resources

No resource links recorded.

easyhook — pip install easyhook · libregistry