Table of Contents

Constructor NativeDetourInfo

Namespace
MonoMod.Core.Platforms
Assembly
MonoMod.Core.dll

NativeDetourInfo(nint, nint, INativeDetourKind, IDisposable?)

An aggregate which represents a native detour, as returned from ComputeDetourInfo(nint, nint, int) and ComputeRetargetInfo(NativeDetourInfo, nint, int) and consumed by their duals.
public NativeDetourInfo(nint From, nint To, INativeDetourKind InternalKind, IDisposable? InternalData)

Parameters

From nint
The source address of the detour.
To nint
The target address of the detour.
InternalKind INativeDetourKind
The INativeDetourKind for the detour.
InternalData IDisposable
A data field which allows the IArchitecture instance to persist data through calls. Often, this is a memory allocation handle.