member_detour_<DetourClass, BaseClass, VirtualClass, Result(Arguments...)> struct

Template parameters
BaseClass The name of the class this object is simulating, must contain the method (or any of its superclasses must)
Arguments

Public types

using detour_pointer = Result(__thiscall*)(VirtualClass*, Arguments...)
The type of function pointer used to keep track of the original function.
using detour_object = member_detour_<DetourClass, BaseClass, VirtualClass, Result(Arguments...)>

Public static variables

static detour_pointer original_function
The pointer to the original function, you can call this with the same parameters as the function.

Public static functions

static auto detoured_function(VirtualClass* object, int edx, Arguments... args) -> Result __fastcall
static auto attach(UINT function_address) -> LONG
static auto detach() -> LONG

Public functions

auto detoured(Arguments...) -> Result