หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Retrieves a specified symbol type that contains, or is closest to, a specified virtual address.
Syntax
HRESULT findSymbolByVA (
ULONGLONG va,
SymTagEnum symtag,
IDiaSymbol** ppSymbol
);
Parameters
va
[in] Specifies the virtual address.
symtag
[in] Symbol type to be found. Values are taken from the SymTagEnum Enumeration enumeration.
ppSymbol
[out] Returns an IDiaSymbol object that represents the symbol retrieved.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Example
IDiaSymbol* pFunc;
pSession->findSymbolByVA( va, SymTagFunction, &pFunc );