# Synopsis

PDX_MSGT s041_GetConfigEntity(long option, int model, DDF_TF tf, void *ent)

# Purpose

Get the configuration entity if it exists.

# Description

Given the type:form number and the configuration model number, this routine will check to see if the the specified entity is locked in memory and if it is, output a pointer to the entity structure. Otherwise, if it is not in memory, ent will be set to NULL.

# Input

## option

Options (not used)

## model

CFG model number.

## tf

Type:Form number of target entity.

## ent

Address to store the pointer to the entity at

# Output

## ent

Entity structure.

# Return

S041 error code