CopyMemoryVlm

[This is preliminary documentation and subject to change.]

The CopyMemoryVlm function copies a block of memory from one location to another, both locations being specified with 64-bit pointers.

VOID CopyMemoryVlm (
  PVOID64 Destination,  // pointer to address of copy destination
  PVOID64 Source,       // pointer to address of block to copy
  DWORD Length          // size, in bytes, of block to copy
);
 

Parameters

Destination
Pointer to the starting address of the copied block's destination.
Source
Pointer to the starting address of the block of memory to copy.
Length
Size, in bytes, of the block of memory to copy.

Return Values

This function has no return value.

Remarks

If the source and destination blocks overlap, the results are undefined. For overlapped blocks, use the MoveMemoryVlm function.

Note  To guard against an access violation, use structured exception handling to protect any code that writes to or reads from a memory-mapped view. For more information on structured exception handling, see Reading and Writing.

QuickInfo

  Windows NT: Requires version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in winbase.h.
  Import Library: Use kernel32.lib.

See Also

Memory Management Overview, Memory Management Functions, Very Large Memory (VLM), CopyMemory, FillMemoryVlm, MoveMemoryVlm, ZeroMemoryVlm