Skip to content

hook_pos

  • Returns the position in the hook chain the currently executing hook occupies.
int64_t hook_pos(void);
int64_t pos =
hook_pos();

This API has no parameters

TypeDescription
int64_tThe position in the chain the currently executing hook occupies. The first position is 0.