# Synopsis

PDX_MSGT map_DispatchList(long option, MDA_ENTITY_LIST *list, int thread, MAP_INFO *info)

# Purpose

Dispatches all entities in an MDA_ENTITY_LIST

# Description

The MDA_ENTITY_LIST list is cycled (after being reset with mda_ResetEntityList) and each entity is passed to the dispatcher specified in info->dispatcher. By default this will be the map_DispatchEntity function unless the application has defined its own dispatcher. See the manual pages for map_DispatchEntity and map_intro for additional information.

# Input

## option

Option (not used)

## list

The entity list to process

## thread

Thread within list

## info

The mapping information structure

# Return

MAP error code