Export (0) Print
Expand All

IDiaSession::findSymbolByVA

Retrieves a specified symbol type that contains, or is closest to, a specified virtual address.

HRESULT findSymbolByVA ( 
   ULONGLONG    va,
   SymTagEnum   symtag,
   IDiaSymbol** ppSymbol
);

va

[in] Specifies the virtual address.

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.

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

IDiaSymbol* pFunc;
pSession->findSymbolByVA( va, SymTagFunction, &pFunc );
Show:
© 2014 Microsoft