IDebugSymbols3::GetModuleByIndex method (dbgeng.h)

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

Syntax

HRESULT GetModuleByIndex(
  [in]  ULONG    Index,
  [out] PULONG64 Base
);

Parameters

[in] Index

Specifies the index of the module whose location is requested.

[out] Base

Receives the location in the target's memory address space of the module.

Return value

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

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

Remarks

For more information about modules, see Modules.

Requirements

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)