Programmatically detect the value of "Use Windows XP style DPI scaling"
<p>Is there a reliable way to find the value of "Use Windows XP style DPI scaling" checkbox value in Windows Vista and Windows 7? I found a way to get this value here:</p>

<p><a href="http://social.microsoft.com/Forums/en-US/whatforum/thread/282a63c2-bd57-4639-811b-c03c6b82b49b/" rel="nofollow">http://social.microsoft.com/Forums/en-US/whatforum/thread/282a63c2-bd57-4639-811b-c03c6b82b49b/</a></p>

<p>However the registry key does not exist for Windows Vista. </p>

<p>My application is written in C# WPF. It needs to scale itself with respect to another application which is DPIAware. I need this value to decide in my application if I need to scale with DPI scaling. I don't want to apply dpi scale factor if the Windows XP style DPI scaling is on.</p>
