หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Positions the enumerator by performing a lookup by image section number and offset.
Syntax
HRESULT symbolByAddrEx (
BOOL fPromoteBlockSym,
DWORD isect,
DWORD offsect,
IDiaSymbol** ppsymbol
);
Parameters
fPromoteBlockSym
[in] Whether or not to enumerate SymTagBlock symbols or promote them to an outer/parent symbol (like SymTagFuncton or SymTagPublicSymbol). If FALSE returns unpromoted SymTagBlock. Otherwise behaves identically to IDiaEnumSymbolsByAddr::symbolByAddr
isect
[in] Image section number.
offsect
[in] Offset in section.
ppsymbol
[out] Returns an IDiaSymbol object representing the symbol found.
Return Value
If successful, returns S_OK. Returns S_FALSE if the symbol could not be found. Otherwise, returns an error code.