win-capture: Add hooking functions
These functions allow the safe hooking of windows functions, specifically windows API functions that may or may not have built-in machine code to help aid in reverse chain hooks. If a new hook is applied to an existing forward hook, that hook will be preserved to prevent that new hook's data from being removed unintentionally. Hopefully with all these precautions this will reduce the likelihood of crashes and abnormal hook behavior, while allowing existing hooks to be preserved, and allowing new hooks to be applied.
Showing
plugins/win-capture/funchook.c
0 → 100644
plugins/win-capture/funchook.h
0 → 100644
想要评论请 注册 或 登录