Expand Minimize

VideoPortMoveMemory function

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

Syntax


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

Parameters

Destination [in, out]

Pointer to the destination location.

Source [in, out]

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

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Video.h (include Video.h)

Library

Videoprt.lib

DLL

Videoprt.sys

IRQL

See Remarks section.

See also

VideoPortCompareMemory
VideoPortGetDeviceBase
VideoPortZeroDeviceMemory
VideoPortZeroMemory

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft