How to access the Recent Files History by user code?

The StarDesktop obviously knows, but I cannot find a promising property/interface/service.
(See also: Is there a way to assign file types to modules?)

I think, you can get an idea from the macros in

Thanks, Regina!
However, I can hardly believe that the hierarchical system described and first used by the original questioner of the thread you linked to still returns “valid” objects without getting access to the content they pretend to be concerned about. (“History”, “List”, “PickList”). This without even giving the correct hierarchical path to the respective registry key. It’s all mystery to me.
By the way: Will the given solution work platform-independent? (I cannot test currently.)

I have tested those macros on Windows 10.