Difference between revisions of "SourceHook"

From AlliedModders Wiki
Jump to: navigation, search
m
m
 
Line 2: Line 2:
 
SourceHook is a versatile library for hooking virtual functions. SourceHook was designed for declaring single hooks against a given virtual function and a specific <tt><i>this</i></tt> pointer.
 
SourceHook is a versatile library for hooking virtual functions. SourceHook was designed for declaring single hooks against a given virtual function and a specific <tt><i>this</i></tt> pointer.
  
Features:
+
For more information about SourceHook's features and API, see [[SourceHook Development]].
* You can change parent parameters during a hooked call
 
* You can hook member functions, both by a pre-existing declaration or given vtable offset
 
* You can call the original function and still fire its associated hooks, or you can call it without firing hooks in order to prevent infinite recursion via a [[Introduction_to_SourceMM_Coding#Calling_Original_Functions|CallClass]]
 
  
 
{{Stub}}
 
{{Stub}}

Latest revision as of 00:03, 6 October 2007

SourceHook is a versatile library for hooking virtual functions. SourceHook was designed for declaring single hooks against a given virtual function and a specific this pointer.

For more information about SourceHook's features and API, see SourceHook Development.

This article is a stub. Help by expanding it