Hi, I'm trying to make a program that sets up the hight dpi compatibility mode programatically on Windows 10, so that I don't have to set up manually the properties of every legacy *.exe program I use, there are hundreds.
When you set up that on a local drive, Windows creates a registry entry such as:
[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers] "C:\Program Files (x86)\Iperius Backup\Iperius.exe"="~ HIGHDPIAWARE"
But if the file resides on a mounted share, the value will be something like:
The SIGN.MEDIA is different for every directory on the same share.
Is there a C/C++ API that would allow to compute this SIGN.MEDIA value?