NOTE: This Menu PATH DL is not Related to the gJMenuDL or the rContext.JMenuDL (copies of the master gJMenuDL), and is actually for storing information about the full path of a given MENU ID. The storage mechanism is "Use a lean JFC_DL, but typecast the JFC_DL.Item_lpPTR field as an LongInt, and store the JMenu_JMenu_UID's there.
This function is recursive so it is important that the menu it's diciphering is correct or you get into an infinate loop. The menu needs to be hierarchial.
You need to call this procedure with: p_Context structure alive and well as done by JAS when creating CGI threads. p_PATHDL instantiated as JFC_DL to be loaded with menu ids in lpPTR field p_JMenuDL either NIL (Then it uses the p_Context.JMenuDL) or a JFC_DL instantiated specifically by the bCreateAndLoadJMenuIntoDL function. p_iMenuID to begin bottom up path interrogation.