IDiaLVarInstance::get_location
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.