RunModuleHookTarget (open)
Invoke the intercepts for a hook target
Syntax
LOADLIB "mod::system/lib/resources.whlib";
RECORD FUNCTION RunModuleHookTarget(STRING targetname, RECORD data)
Parameters
STRING targetname
Hook target to invoke (module:targetname)
RECORD data
Data to pass to the intercept functions. Each intercept can update the data
Return value
RECORD
The data as returned by the last intercept. If the target was not intercepted it will simply return the original data
Description
Module hooks are a low-level mechanism to allow external code to hook into your code.