Api hooking is the technique of altering the behaviour of operating systems or applications by intercepting function calls in order to run alternative or additional code instead.