Top "Hook" questions

A hook refers to replacing or extending a system or application's default behavior with a custom behavior for a specific event.

Linux X11 - Global Keyboard Hook

Is it possible (or how) to create a mechanism (in Linux X11, C++) that works like a global hook in …

c++ linux hook x11
How to remove remote git hooks?

I have pre-push hook implemented with Husky. Now I wanna remove it. Problem is that after yarn remove husky git …

git frontend hook husky
How and where to write Webform submit hook?

I am new to Drupal(7) and hence need some help for following situations. I have created one Webform(I have …

drupal-7 hook drupal-webform
What user runs the git hook?

I have a post-update hook on my server, such that when I git push it does a pull on the …

git hook
Listening to another window resize events in C#

I am implementing a small application (observer) that needs to "attach" itself to the bottom of another window (observed). The …

c# resize hook
Print TCP Packet Data

In TCP Communication, when the packet is being transferred from ethernet to network(IP) layer, I want to print the …

c tcp linux-kernel hook netfilter
How does hook_theme() work?

I am having a hard time understanding what hook_theme() does. My understanding is that it has something to do …

drupal drupal-7 hook drupal-templates
What is the recommended way to hook Win32 APIs for a commmercial application?

What is your recommendation for an API hooking library or code to be used in a commercial application? I have …

winapi api hook detours
Hook ZwTerminateProcess in x64 Driver (Without SSDT)

I found and read this question but I didn't found my answer SSDT hooking alternative in x64 systems I want …

64-bit hook driver sql-server-data-tools kernel-mode