The NO_HOOKS Pragma

The NO_HOOKS pragma prevents entry and exit hook calls from being generated for a function.

The syntax of the pragma in C is:

#pragma NO_HOOKS (func)

The syntax of the pragma in C++ is:

#pragma NO_HOOKS

See Section 2.13 for details on entry and exit hooks.