Platform SDK: Debugging and Error Handling |
The TranslateAddressProc function is an application-defined callback function used with the StackWalk function. It provides address translation for 16-bit addresses.
The PTRANSLATE_ADDRESS_ROUTINE type defines a pointer to this callback function. TranslateAddressProc is a placeholder for the application-defined function name.
DWORD TranslateAddressProc( HANDLE hProcess, HANDLE hThread, LPADDRESS lpaddr );
The PTRANSLATE_ADDRESS_ROUTINE64 type defines a pointer to this callback function. TranslateAddressProc64 is a placeholder for the application-defined function name.
DWORD64 TranslateAddressProc64( HANDLE hProcess, HANDLE hThread, LPADDRESS64 lpaddr );
The function returns the translated address.
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.