Module hook

Source
Expand description

Hooking via MinHook.

Enable the "hook" feature for bindings using trait interfaces from the detour crate.

Structs§

HookStatusIter
An iterator over the variants of HookStatus

Enums§

HookStatus
MinHook error codes.

Functions§

create_hook
Creates a hook for the specified target function in disabled state.
create_hook_enabled
Creates a hook for the specified target function, and enables it if successful.
create_hook_raw
Creates a hook for the specified target function in disabled state.
disable_hook
Disables an already created hook.
disable_hook_raw
Dsiables an already created hook.
enable_hook
Enables an already created hook.
enable_hook_raw
Enables an already created hook.
remove_hook
Removes an already created hook.
remove_hook_raw
Removes an already created hook.

Type Aliases§

RawHookCreate
RawHookDisable
RawHookEnable
RawHookRemove