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) |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- 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. |
This function has no return value. |
|