int dal_dmi_ret_cmn_alg ()

Returns the mechanism to be used for generating menus.

Input Parameters Significance
none

Output Parameters Significance
none -

Return Code Significance
0 0 = recursive algorithm
1 structure resolution for TOP-menu only
2 structure resolution for context menus only
3 structure resolution for all menus

The mechanism is usually defined in the repository by the variable DTV_MEN_CRE_ALG. When the data structure of defaults is initialized with dal_dfv_ini, the local value will be set acordingly.