Interface IDetourNativePlatform
Assembly: MonoMod.RuntimeDetour.dll
public interface IDetourNativePlatform
Methods
Declaration
void Apply(NativeDetourData detour)
Parameters
Declaration
void Copy(IntPtr src, IntPtr dst, byte type)
Parameters
Type |
Name |
Description |
System.IntPtr |
src |
|
System.IntPtr |
dst |
|
System.Byte |
type |
|
Declaration
NativeDetourData Create(IntPtr from, IntPtr to, Nullable<byte> type = null)
Parameters
Type |
Name |
Description |
System.IntPtr |
from |
|
System.IntPtr |
to |
|
System.Nullable<System.Byte> |
type |
|
Returns
Declaration
void FlushICache(IntPtr src, uint size)
Parameters
Type |
Name |
Description |
System.IntPtr |
src |
|
System.UInt32 |
size |
|
Declaration
void Free(NativeDetourData detour)
Parameters
Declaration
void MakeExecutable(IntPtr src, uint size)
Parameters
Type |
Name |
Description |
System.IntPtr |
src |
|
System.UInt32 |
size |
|
Declaration
void MakeWritable(IntPtr src, uint size)
Parameters
Type |
Name |
Description |
System.IntPtr |
src |
|
System.UInt32 |
size |
|
Declaration
IntPtr MemAlloc(uint size)
Parameters
Type |
Name |
Description |
System.UInt32 |
size |
|
Returns
Type |
Description |
System.IntPtr |
|
Declaration
Parameters
Type |
Name |
Description |
System.IntPtr |
ptr |
|
Extension Methods