ULONG VideoPortCompareMemory(
PVOID Source1, | |
PVOID Source2, | |
ULONG Length | |
); |
VideoPortCompareMemory compares two blocks of system memory, byte-by-byte, and returns the number of compared bytes that are equivalent.
VideoPortCompareMemory returns the number of bytes that are equivalent. If both blocks are equivalent, it returns the Length parameter.
The given Source1 and Source2 must be in a mapped logical range returned by VideoPortGetDeviceBase and/or a system-space RAM address, such as an address on the stack. Attempting to compare the contents of a device-memory block, such as an adapter frame buffer or ROM block, can cause access violations in certain Windows NT RISC-based platforms.
VideoPortGetDeviceBase, VideoPortMoveMemory, VideoPortScanRom, VideoPortZeroDeviceMemory, VideoPortZeroMemory