Method GetRealDetourTarget
GetRealDetourTarget(MethodBase, MethodBase)
Gets the 'real detour target' when detouring
from to to.public MethodBase GetRealDetourTarget(MethodBase from, MethodBase to)
Parameters
fromMethodBase- The method being detoured from.
toMethodBase- The method being detoured to.
Returns
- MethodBase
- The method to detour to instead of
to.
Remarks
This will return an ABI fixup method instead of
to when needed, automatically
generating them when needed. When this is needed depends on the argument order in the ABI.