GetModuleBaseProc64 Callback Function

Debug Help Library

GetModuleBaseProc64 Callback Function

An application-defined callback function used with the StackWalk64 function. It is called when StackWalk64 needs a module base address for a given virtual address.

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

DWORD64 CALLBACK GetModuleBaseProc64(
  [in]                 HANDLE hProcess,
  [in]                 DWORD64 Address



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


An address within the module image to be located.

Return Value

The function returns the base address of the module.



Requires DbgHelp.dll 5.1 or later.


Declared in DbgHelp.h.

See Also

DbgHelp FunctionsStackWalk64

Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.