次の方法で共有


IDiaSession::findSymbolByRVAEx

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

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

Retrieves a specified symbol type that contains, or is closest to, a specified relative virtual address (RVA) and offset.

HRESULT findSymbolByRVAEx ( 
   DWORD        rva,
   SymTagEnum   symtag,
   IDiaSymbol** ppSymbol,
   LONG*        displacement
);

Parameters

  • rva
    [in] Specifies the RVA.

  • symtag
    [in] Symbol type to be found. Values are taken from the SymTagEnum enumeration.

  • ppSymbol
    [out] Returns an IDiaSymbol object that represents the symbol retrieved.

  • displacement
    [out] Returns a value specifying an offset from the relative virtual address specified in rva.

Return Value

If successful, returns S_OK; otherwise, returns an error code.

Example

IDiaSymbol* pFunc;
LONG disp = 0;
pSession->findSymbolByRVAEx( rva, SymTagFunction, &pFunc, &disp );

See Also

IDiaSession
IDiaSymbol
SymTagEnum
Glossary of DIA SDK Terms