PFUNCTION_TABLE_ACCESS_ROUTINE callback function (dbghelp.h)

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(
  [in] HANDLE hProcess,
  [in] DWORD AddrBase
)
{...}

Parameters

[in] hProcess

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

[in] 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

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

See also

DbgHelp Functions

FPO_DATA

IMAGE_FUNCTION_ENTRY

StackWalk64