Export (0) Print
Expand All
Expand Minimize

TranslateAddressProc64 callback function

An application-defined callback function used with the StackWalk64 function. It provides address translation for 16-bit addresses.

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

Syntax


DWORD64 CALLBACK TranslateAddressProc64(
  _In_  HANDLE hProcess,
  _In_  HANDLE hThread,
  _In_  LPADDRESS64 lpaddr
);

Parameters

hProcess [in]

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

hThread [in]

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

lpaddr [in]

An address to be translated.

Return value

The function returns the translated address.

Remarks

This callback function supersedes the PTRANSLATE_ADDRESS_ROUTINE callback function. PTRANSLATE_ADDRESS_ROUTINE is defined as follows in Dbghelp.h.


#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
#define PTRANSLATE_ADDRESS_ROUTINE PTRANSLATE_ADDRESS_ROUTINE64
#else
typedef
DWORD
(__stdcall *PTRANSLATE_ADDRESS_ROUTINE)(
    __in HANDLE hProcess,
    __in HANDLE hThread,
    __out LPADDRESS lpaddr
    );
#endif

Requirements

Redistributable

DbgHelp.dll 5.1 or later

Header

DbgHelp.h

See also

DbgHelp Functions
StackWalk64

 

 

Community Additions

ADD
Show:
© 2014 Microsoft