AddHook

This function adds a global hook. Hooks are callback functions that will be executed when certain events occur.

Syntax

Parameters

Example