[DllImport("Kernel32.dll", EntryPoint="RtlMoveMemory", SetLastError=false)]
static extern void MoveMemory(IntPtr dest, IntPtr src, int size);
Declare Auto Sub MoveMemory Lib "Kernel32.dll" _
Alias RtlMoveMemory(IntPtr dest, IntPtr src, int size)
None.
Use Marshal.Copy() twice to move from the unmanaged heap into a managed array and back out. Not ideal.
VB developers might want to check the VB declaration thoroughly...
Please add some!
Please add some!