Export (0) Print
Expand All

IDiaStackWalkHelper::put_registerValue

Sets the value of a register.

HRESULT put_registerValue ( 
   DWORD     index,
   ULONGLONG NewVal
);

index

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

NewVal

[in] The new register value.

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

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.

Show:
© 2014 Microsoft