Show: Delphi C++
Display Preferences

System.SysUtils.CompareMem

From XE2 API Documentation
Jump to: navigation, search

Delphi

function CompareMem(P1, P2: Pointer; Length: Integer): Boolean;

C++

extern PACKAGE bool __fastcall CompareMem(void * P1, void * P2, int Length);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Performs a binary comparison of two memory images.

CompareMem performs a binary comparison of Length bytes of memory referenced by P1 to those of P2. CompareMem returns True if the memory referenced by P1 is identical to that of P2.

See Also

Personal tools
Previous Versions
Translations