次の方法で共有


IDiaStackFrame::get_rawLVarInstanceValue

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

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

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.

Return Value

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

See Also

IDiaStackFrame
IDiaLVarInstance