VideoPortMoveMemory function

The VideoPortMoveMemory function copies data from the source location to the destination location in system memory.

Syntax

VIDEOPORT_API VOID VideoPortMoveMemory(
  PVOID Destination,
  PVOID Source,
  ULONG Length
);

Parameters

Destination

Pointer to the destination location.

Source

Pointer to the location of the data to copy.

Length

Specifies the number of bytes to copy.

Return Value

None

Remarks

VideoPortMoveMemory moves memory either forward or backward, aligned or unaligned, in 4-byte blocks, followed by any remaining bytes.

The given Destination and Source must be in a mapped logical range returned by VideoPortGetDeviceBase and/or a system space RAM address, such as an address on the stack.

Callers of VideoPortMoveMemory can be running at any IRQL if both memory blocks are resident. Otherwise, the caller must be running at IRQL < DISPATCH_LEVEL.

Requirements

   
Windows version Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Desktop
Header video.h (include Video.h)
Library Videoprt.lib
DLL Videoprt.sys
IRQL See Remarks section.

See Also

VideoPortCompareMemory

VideoPortGetDeviceBase

VideoPortZeroDeviceMemory

VideoPortZeroMemory