ExtRemoteData::GetData method (engextcpp.hpp)

The GetData method returns the contents of the target's memory, represented by the ExtRemoteData object.

Syntax

ULONG64 GetData(
  [in] ULONG Request
);

Parameters

[in] Request

Number of bytes requested. This must be the same as the size of the memory specified by the ExtRemoteData::ExtRemoteData constructor or the ExtRemoteData::Set(Typed) or ExtRemoteData::Set(Offset Bytes) methods. If it is not the same, ExtRemoteException is thrown.

Return value

GetData returns the cached contents of the target's memory, represented by the ExtRemoteData object.

Remarks

The contents of the region of memory represented by an ExtRemoteData object are only cached if the size of the region is less than 8 bytes. If the size of the region is greater than 8 bytes, the GetData method does not return a meaningful value.

A number of convenience methods are available for various primitive types. These methods will automatically provide the size of the type and cast the return value to that type. These methods are listed in the See Also section.

Requirements

Requirement Value
Target Platform Desktop
Header engextcpp.hpp (include Engextcpp.hpp)

See also

ExtRemoteData

ExtRemoteData::ExtRemoteData

ExtRemoteData::Set(Offset Bytes)

ExtRemoteData::Set(Typed)

GetBoolean

GetChar

GetDouble

GetFloat

GetLong

GetLong64

GetLongPtr

GetPtr

GetShort

GetStdBool

GetUchar

GetUlong

GetUlong64

GetUlongPtr

GetUshort

GetW32Bool