[host] windows: declare high DPI support in manifest

This is the normal way of doing things, and it's easier and less sketchy
than GetProcAddress.
This commit is contained in:
Quantum
2021-07-19 19:26:59 -04:00
committed by Geoffrey McRae
parent 0525515bee
commit f0c7e9bdfa
2 changed files with 8 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3">
<assemblyIdentity version="1.0.0.0" processorArchitecture="X86" name="HostFission.LookingGlass.Host" type="win32"/>
<description>Looking Glass (host)</description>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
@@ -9,4 +9,10 @@
</requestedPrivileges>
</security>
</trustInfo>
<asmv3:application>
<asmv3:windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
<dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">PerMonitorV2</dpiAwareness>
</asmv3:windowsSettings>
</asmv3:application>
</assembly>