Debugging Tools for Windows

GetModuleByIndex

The GetModuleByIndex method returns the location of the module with the specified index.

HRESULT
  IDebugSymbols::GetModuleByIndex(
    IN ULONG  Index,
    OUT PULONG64  Base
    );

Parameters

Index
Specifies the index of the module whose location is requested.
Base
Receives the location in the target's memory address space of the module.

Return Value

S_OK
The method was successful.
S_FALSE
The specified module was not loaded, and information about the module was not available.

This method may also return other error values. See Return Values for more details.

Interface Version

GetModuleByIndex is available in all versions of IDebugSymbols.

Comments

For more information about modules, see Modules.

Requirements

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD