| IDA SDK

Functions
Modules
Debugger functions

## Detailed Description

Functions to enumerate modules loaded into the process.

Parameters

  modinfo | structure to receive the answer

Returns
  false if there are no (more) modules

Typical loop to enumerate modules would look like:

modinfo_t minfo;
for ( bool ok=get_first_module(&minfo); ok; ok=get_next_module(&minfo) )
...
get_first_module
bool idaapi get_first_module(modinfo_t *modinfo)
Definition: dbg.hpp:604
get_next_module
bool idaapi get_next_module(modinfo_t *modinfo)
Definition: dbg.hpp:607
modinfo_t
Describes a module load event.
Definition: idd.hpp:313

## Functions
bool idaapi | get_first_module (modinfo_t *modinfo)
bool idaapi | get_next_module (modinfo_t *modinfo)

## Function Documentation

## ◆ get_first_module()

bool idaapi get_first_module | ( | modinfo_t * | modinfo | ) |
| inline

Parameters

  modinfo | See Modules

## ◆ get_next_module()

bool idaapi get_next_module | ( | modinfo_t * | modinfo | ) |
| inline

Parameters

  modinfo | See Modules