Bewerken

Delen via


VideoPortMoveMemory function (video.h)

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

Syntax

VIDEOPORT_API VOID VideoPortMoveMemory(
  [in, out] PVOID Destination,
  [in, out] PVOID Source,
            ULONG Length
);

Parameters

[in, out] Destination

Pointer to the destination location.

[in, out] 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

Requirement Value
Minimum supported client 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