Edit

Share via


IDebugHostMemory5::ReadIntrinsics method (dbgmodel.h)

The ReadIntrinsics method reads one or more intrinsic values from the target's address space defined by the given context and ___location. The number of intrinsics successfully read is returned in the intrinsicsRead on success.

The method allows reading of different types of intrinsics which are indicated by the 'vt' parameter. These types can be:

  • VT_I1 - VT_I8: Signed integers
  • VT_UI1 - VT_UI1: Unsigned integers
  • VT_R4 - VT_R8: Standard floating point (single/double precision) values

Syntax

HRESULT ReadIntrinsics(
  IDebugHostContext *context,
  Location          ___location,
  VARTYPE           vt,
  ULONG64           count,
  VARIANT           *vals,
  ULONG64           *intrinsicsRead
);

Parameters

context

The currently active context.

___location

The ___location in the target's address space from where intrinsic values will be read.

vt

Specifies the type of intrinsic values to read.

count

Specifies the number of intrinsic values to read.

vals

A pointer to the storage ___location where the read intrinsic values will be stored.

intrinsicsRead

Returns the number of intrinsics successfully read.

Return value

This method returns HRESULT which indicates success or failure.

Requirements

Requirement Value
Header dbgmodel.h

See also

IDebugHostMemory5 interface