description | title | ms.date | ms.topic | dev_langs | helpviewer_keywords | author | ms.author | manager | ms.subservice | ||
---|---|---|---|---|---|---|---|---|---|---|---|
This method retrieves the value of the specified local variable as raw bytes. |
IDiaStackFrame::get_rawLVarInstanceValue |
11/04/2016 |
reference |
|
|
mikejo5000 |
mikejo |
mijacobs |
debug-diagnostics |
This method retrieves the value of the specified local variable as raw bytes.
HRESULT get_rawLVarInstanceValue(
IDiaLVarInstance* pInstance,
DWORD cbDataMax,
DWORD* pcbData,
BYTE* pbData
);
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.