Table of Contents

Constructor NativeDetour

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

NativeDetour(SimpleNativeDetour, nint, IDisposable?)

A wrapper struct containing a SimpleNativeDetour and alternate entrypoint handle.
public NativeDetour(SimpleNativeDetour Simple, nint AltEntry, IDisposable? AltHandle)

Parameters

Simple SimpleNativeDetour
The SimpleNativeDetour instance backing this detour.
AltEntry nint
A pointer to the generated alternate entrypoint, if one was generated.
AltHandle IDisposable
The memory handle for the alternate entry point, if one is present.
See Also