This file contains the hook functions that are called by the commands whenever a command wants to access the operating system functions. The hook functions implemented here are transparent, they call the operating system. However these hook functions are called via the HookFunctions function pointer table and external modules may alter this table supplying their own hook functions.
There are some hook functions, which do not exist by default. In this case the hook functions table points to NULL. These functions, if defined are called by ScriptBasic at certain points of execution. For example the function HOOK_ExecBefore is called each time before executing a command in case an external module defines the function altering the hook function table.
The hook functions have the same arguments as the original function preceeded by the pointer to the execution object pExecuteObject pEo. For example the function fopen has two arguments to char *, and therefore HOOK_fopen has three. The first should point to pEo and the second and third should point to