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
);

Parameters

hProcess

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

Address

An address within the module image to be located.

Return Value

The function returns the base address of the module.

Requirements

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

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.