[Note: This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
[このトピックはプレリリース版のため将来変更される可能性があります。また、プレースホルダとしてブランクのトピックが含まれています。]
Retrieves the ___location of the specified variable.
HRESULT get_lVarInstanceLocation(
IDiaLVarInstance* pInstance,
BOOL* pfLocInRegister,
DWORD* pdwRegId,
ULONGLONG* pva
);
Parameters
pInstance
[in] Instance of the local variable to get ___location of.pfLocInRegister
[out] Returns nonzero (TRUE) if the variable is stored in a register; otherwise, returns zero (FALSE) if variable is stored in memory.pdwRegId
[out] Returns the register index if the variable is stored in a register (see the CV_HREG_e enumeration for possible values). Returns CV_REG_NONE if the variable is not in a register.pva
[out] Returns the virtual address of the variable if it is stored in memory.
Return Value
If successful, returns S_OK; otherwise, returns an error code.