0 out of 2 rated this helpful - Rate this topic

FunctionTableAccessProc64 callback function

Applies to: desktop apps only

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

PVOID CALLBACK FunctionTableAccessProc64(
  __in  HANDLE hProcess,
  __in  DWORD64 AddrBase
);

Parameters

hProcess [in]

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

AddrBase [in]

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

Redistributable

DbgHelp.dll 5.1 or later

Header

DbgHelp.h

See also

DbgHelp Functions
FPO_DATA
IMAGE_FUNCTION_ENTRY
StackWalk64

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Function without prolog code
Will this work for functions that do not have a prolog signature, due to optimization?
Thanks!