On Wed, 21 Nov 2007, Lei Zhang wrote: [...]
xdg-user-dirs provides xdg_user_dir_lookup() for doing this. [1] Is this something we can include in Wine? The code is under the MIT license.
As long as our code still works if the relevant xdg library is not present at runtime...