IDiaStackWalkHelper::get_registerValue

[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]

Retrieves the value of a register.

HRESULT get_registerValue ( 
   DWORD      index,
   ULONGLONG* pRetVal
);

Parameters

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

  • pRetVal
    [out] Returns the current value of the register.

Return Value

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

Remarks

Despite the size of the pRetVal parameter, an implementation should store only what the register normally holds. For example, an 8-bit register holds only the lowest 8-bits of the given value. This 8-bit value is expanded to 64-bits when returned from this method.

See Also

IDiaStackWalkHelper
CV_HREG_e