DynamicHook.DynamicHook Method

Creates a vtable hook.

DynamicHook DynamicHook(int offset, HookType hooktype, ReturnType returntype, ThisPointerType thistype)

Parameters

int offset

Virtual table offset of function to hook.

HookType hooktype

Type of hook.

ReturnType returntype

Type of return value.

ThisPointerType thistype

Type of this pointer or ignore (ignore can be used if not needed).

Return Value

No description.

Errors

Failed to create hook setup handle or invalid callback function.