Kernel32MoveMemory(IntPtr, IntPtr, UInt32) Method
Moves a block of memory from one location to another.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Kernel32.dll", EntryPoint = "RtlMoveMemory", CallingConvention = CallingConvention.StdCall,
CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)]
public static void MoveMemory(
IntPtr destination,
IntPtr source,
uint length
)
<DllImportAttribute("Kernel32.dll", EntryPoint := "RtlMoveMemory", CallingConvention := CallingConvention.StdCall,
CharSet := CharSet.Auto, ExactSpelling := true, SetLastError := true>]
Public Shared Sub MoveMemory (
destination As IntPtr,
source As IntPtr,
length As UInteger
)
Dim destination As IntPtr
Dim source As IntPtr
Dim length As UInteger
Kernel32.MoveMemory(destination, source,
length)
public:
[DllImportAttribute(L"Kernel32.dll", EntryPoint = L"RtlMoveMemory", CallingConvention = CallingConvention::StdCall,
CharSet = CharSet::Auto, ExactSpelling = true, SetLastError = true)]
static void MoveMemory(
IntPtr destination,
IntPtr source,
unsigned int length
)
[<DllImportAttribute("Kernel32.dll", EntryPoint = "RtlMoveMemory", CallingConvention = CallingConvention.StdCall,
CharSet = CharSet.Auto, ExactSpelling = true, SetLastError = true)>]
static member MoveMemory :
destination : IntPtr *
source : IntPtr *
length : uint32 -> unit
No code example is currently available or this language may not be supported.
Parameters
- destination IntPtr
-
A pointer to the starting address of the move destination.
- source IntPtr
-
A pointer to the starting address of the block of memory to be moved.
- length UInt32
-
The size of the block of memory to move, in bytes.