Add menu item - setUserBlockMenu()

This function adds a block (or menu item) to the Embed menus.

EXPORT32 void EXPORT setUserBlockMenu P((USER_MENU_ITEM * ));

This function recognizes one argument, which is a pointer to an array of structures. The structures define the menu name, DLL name, number of inputs, number of outputs, number of parameters, and help string. The format of the structure is as follows:

typedef struct {

  char * menuName;     

  char * funcName;        

  int inputCount;              

  int outputCount;

  int paramCount;

  char * helpText;

} USER_MENU_ITEM;

You need one structure for every block (or menu item).

In addition, the last element in the array of structures that is passed back in must be {0}.