IDiaSymbol::get_registerId

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

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

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.

注意

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.

See Also

IDiaSymbol
LocationType