PFUNCTION_TABLE_ACCESS_ROUTINE callback function

An application-defined callback function used with the StackWalk64 function. It provides access to the run-time function table for the process.

The PFUNCTION_TABLE_ACCESS_ROUTINE64 type defines a pointer to this callback function. FunctionTableAccessProc64 is a placeholder for the application-defined function name.

Syntax

PFUNCTION_TABLE_ACCESS_ROUTINE PfunctionTableAccessRoutine;

PVOID PfunctionTableAccessRoutine(
  HANDLE hProcess,
  DWORD AddrBase
)
{...}

Parameters

hProcess

A handle to the process for which the stack trace is generated.

AddrBase

The address of the instruction to be located.

Return Value

The function returns a pointer to the run-time function table. On an x86 computer, this is a pointer to an FPO_DATA structure. On an Alpha computer, this is a pointer to an IMAGE_FUNCTION_ENTRY structure.

Remarks

This callback function supersedes the PFUNCTION_TABLE_ACCESS_ROUTINE callback function. PFUNCTION_TABLE_ACCESS_ROUTINE is defined as follows in DbgHelp.h.

#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
#define PFUNCTION_TABLE_ACCESS_ROUTINE PFUNCTION_TABLE_ACCESS_ROUTINE64
#else
typedef
PVOID
(__stdcall *PFUNCTION_TABLE_ACCESS_ROUTINE)(
    __in HANDLE hProcess,
    __in DWORD AddrBase
    );
#endif

Requirements

   
Target Platform Windows
Header dbghelp.h
Redistributable DbgHelp.dll 5.1 or later

See Also

DbgHelp Functions

FPO_DATA

IMAGE_FUNCTION_ENTRY

StackWalk64