Platform SDK: Debugging and Error Handling |
The SymFunctionTableAccess function retrieves the function table entry for the specified address.
This function is implemented as a wrapper that calls SymFunctionTableAccess64. For more information, see New 64-bit Functions.
PVOID SymFunctionTableAccess( HANDLE hProcess, DWORD AddrBase );
For SymFunctionTableAccess64, the parameter list is as follows.
PVOID SymFunctionTableAccess64( HANDLE hProcess, DWORD64 AddrBase );
If the function succeeds, the return value is a pointer to the function table entry. The page in memory that contains the function table entry is marked as read-only. Any attempt to write to the returned pointer results in an access violation exception.
If the function fails, the return value is NULL. To retrieve extended error information, call GetLastError.
The type of pointer returned is specific to the image from which symbols are loaded. If the image is from an Intel x86 computer, this is a pointer to an FPO_DATA structure. If the image is for any of the RISC platforms supported by Windows NT/Windows 2000, this is a pointer to an IMAGE_FUNCTION_ENTRY structure.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Dbghelp.h.
Library: Use Dbghelp.lib.
Debug Help Library Overview, DbgHelp Functions, FPO_DATA, IMAGE_FUNCTION_ENTRY, SymInitialize