IDiaStackFrame::get_rawLVarInstanceValue

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IDiaStackFrame::get_rawLVarInstanceValue.

This method retrieves the value of the specified local variable as raw bytes.

HRESULT get_rawLVarInstanceValue(  
   IDiaLVarInstance* pInstance,  
   DWORD             cbDataMax,  
   DWORD*            pcbData,  
   BYTE*             pbData  
);  

Parameters

pInstance
[in] An IDiaLVarInstance object representing an instance of local variable to get the value for.

cbDataMax
[in] Maximum number of bytes in the buffer pointed to by pbData. This can be a maximum of 8 bytes (sizeof(ULONGLONG)).

pcbData
[out] Returns the actual number of bytes stored in the buffer.

pbData
[out] A buffer to be filled in with data. This cannot be NULL.

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

IDiaStackFrame

Show: