IDiaSymbol::get_registerId
Retrieves the register designator of the location when the LocationType is set to LocIsEnregistered.
HRESULT get_registerId (
DWORD* pRetVal
);
Parameters
- pRetVal
[out] Returns the register designator of the location.
Return Value
If successful, returns S_OK; otherwise, returns S_FALSE or an error code.
Nota
A return value of S_FALSE means that the property is not available for the symbol.
Remarks
If the symbol is relative to a register, that is, if the symbol's LocationType is set to LocIsRegRel, use the get_registerId method followed by a call to the IDiaSymbol::get_offset method to get the offset from the register where the symbol is located.