Synopsis

PDX_MSGT mda_GetParentCount(long option, MDA_PTR db_ptr, long *count)

Purpose

Retrieve number of parents of an entity.

Description

The number of entities which reference db_ptr is returned. The actual list can be returned by calling mda_GetParents.

Input

option

Options (not used)

db_ptr

Entity to obtain number of parents for

Output

count

Number of referencing pointers

Return

MDA error code