hook_skip
Skip a hook that appears later in the hook chain on the hook account
Behaviour
Search the hook chain for a hook identified by the hook hash at
read_ptr
Mark it as disabled for this chain execution
Definition
C
Example
C
Parameters
Name
Type
Description
read_ptr
uint32_t
Pointer to a buffer containing the hook hash
read_len
uint32_t
Length of the hook hash (always 32)
flags
uint32_t
If 0: - add the hash to the hook skip list If 1 - remove the hash from the hook skip list
Return Code
Type
Description
int64_t
If successful 1
If negative, an error:
OUT_OF_BOUNDS
- pointers/lengths specified outside of hook memory.
DOESNT_EXIST
- The specified paramater doesn't exist or is null
INVALID_ARGUMENT
- Hash is not 32 bytes
Last updated