Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
Retrieves the register designator of the location when the LocationType Enumeration is set to LocIsEnregistered.
Syntax
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.
Note
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 Enumeration 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.