A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



CopyMemory

The CopyMemory function copies a block of memory from one location to another.

VB4-32,5,6
Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)

VB.NET
N/A

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Kernel32

Parameter Information
- Destination
Points to the starting address of the copied block’s destination.

- Source
Points to the starting address of the block of memory to copy.

- Length
Specifies the size, in bytes, of the block of memory to copy.

Return Values
This function has no return value.

Last update: 07 April 2006