EnumerateLoadedModulesProc64 Callback Function

Debug Help Library

EnumerateLoadedModulesProc64 Callback Function

An application-defined callback function used with the EnumerateLoadedModules64 function.

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

BOOL CALLBACK EnumerateLoadedModulesProc64(
  [in]                 PTSTR ModuleName,
  [in]                 DWORD64 ModuleBase,
  [in]                 ULONG ModuleSize,
  [in]                 PVOID UserContext
);

Parameters

ModuleName

The name of the enumerated module.

ModuleBase

The base address of the module.

ModuleSize

The size of the module, in bytes.

UserContext

Optional user-defined data. This value is passed from EnumerateLoadedModules64.

Return Value

To continue enumeration, the callback function must return TRUE.

To stop enumeration, the callback function must return FALSE.

Requirements

Redistributable

Requires DbgHelp.dll 5.1 or later.

Header

Declared in DbgHelp.h.

Unicode

Implemented as PENUMLOADED_MODULES_CALLBACKW64 (Unicode) and PENUMLOADED_MODULES_CALLBACK64 (ANSI).

See Also

DbgHelp FunctionsEnumerateLoadedModules64


Send comments about this topic to Microsoft

Build date: 9/25/2007

© 2007 Microsoft Corporation. All rights reserved.