[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(dest As IntPtr, src As IntPtr, size As Integer)
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!