# Synopsis

(macro) PDX_MSGT mda_ValidateModel(long option, int model, MDA_APP_DATA **results)

# Purpose

Validate the entities in a model.

# Description

The validate function associated with the specified model is invoked against model. The validate function is defined by setting the validate field in the MODEL_INFO structure returned from the function mda_GetModelDefaults. The results of the validation are returned as application data in the results argument.

# Input

## option

Options to be passed to validator

## model

Model to validate

# Output

## results

Application data containing result of validation

# Return

Error code from the validate function