int dal_men_sel_chk (men, selnam, selusx, usxpar)

Checks whether the selection can be added to the menu, based on the result from the callback queue.

Input Parameters Significance
DtvLong men menu-Id
char *selnam selection name
char *selusx userexit
char *usxpar userexit parameter

Output Parameters Significance
none -

Return Code Significance
0 selection can be added to menu
else selection cannot be added to menu

This function calls the check function from the callback queue set via dal_men_set_sel_chk.

The function passes the return code of the check function which leaves the queue with different from 0 to the calling, menu-creating function (e.g. dal_dmi_cre_men). If 0 is passed to the calling function or if no check function has been set, the selection can be added to the menu.