IDiaStackWalkHelper::put_registerValue

Sets the value of a register.

HRESULT put_registerValue ( 
   DWORD     index,
   ULONGLONG NewVal
);

Parameters

  • index
    [in] A value from the CV_HREG_e enumeration specifying the register to write to.

  • NewVal
    [in] The new register value.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Remarks

Despite the size of the value, an implementation should store only what the register normally holds. For example, an 8-bit register would hold only the lowest 8-bits of the given value.

See Also

Reference

IDiaStackWalkHelper

CV_HREG_e