Yes, OSes deciding that the monitor has a certain DPI, when in fact it may be different. As I understand it, at least some Macs use 72 or 75 (I forget which) as their standard, while Windows likes 96, except for the new high DPI stuff.
I need to know the actual resolution so that my graphics scale correctly, at least as a user option, in which case a ten cm line at 1:1 scale, for example, should be an actual ten cm long on the screen. That requires knowing the physical DPI.
Thanks for the stackoverflow link and pointing me to the LCL routines. Somehow, I missed those in my search.