次の方法で共有


IDiaLVarInstance::get_location

[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 ___location information for the live local variable.

HRESULT get_location(
   IDiaStackFrame *pFrame,
   BOOL *pfLocInRegister,
   DWORD *pdwRegId,
   ULONGLONG *pva
);

Parameters

  • pFrame
    [in] The IDiaStackFrame object representing the stack frame from which to derive the ___location of the local variable.

  • pfLocInRegister
    [out] Nonzero (TRUE) if the local variable is in a register (the register index is returned in pdwRegId).

  • pdwRegId
    [out] If the local variable is contained in a register, this returns the index of the register.

  • pva
    [out] If the local variable is not stored in a register, then this returns its virtual address (relative to the executable).

Return Value

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

See Also

IDiaLVarInstance
IDiaStackFrame