Method GetRealDetourTarget
GetRealDetourTarget(MethodBase, MethodBase, AbiArgumentMap)
Gets the 'real detour target' when detouring
src to dst.public MethodBase GetRealDetourTarget(MethodBase src, MethodBase dst, AbiArgumentMap argumentMap)
Parameters
srcMethodBase- The method being detoured from.
dstMethodBase- The method being detoured to.
argumentMapAbiArgumentMap- The AbiArgumentMap specifying how to map arguments from
srconto the arguments ofdst.
Returns
- MethodBase
- The method to detour to instead of
dst.
Remarks
This will return an ABI fixup method instead of
dst when needed, automatically
generating them when needed. When this is needed depends on the argument order in the ABI.