Share via


IDiaStackFrame::get_registerValue

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Retrieves the value of a specified register as stored in the stack frame.

Syntax

HRESULT get_registerValue(
   ULONG      registerIndex,
   ULONGLONG *pRetVal
);

Parameters

registerIndex

[in] One of the CV_HREG_e Enumeration enumeration values.

pRetVal

[out] Value stored in the register.

Return Value

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

See also