Browse Source
* Prevent calls to unavailable entrypoint 'GetDpiForMonitor' on Win8 (#5357) * Introduce Windows8 platform constant * wip Co-authored-by: Tim Schneeberger <tim.schneeberger@outlook.de> Co-authored-by: Tim Schneeberger <thebone.main@gmail.com> Co-authored-by: Dan Walmsley <dan@walms.co.uk>release/0.10.8
committed by
Steven Kirk
7 changed files with 14 additions and 9 deletions
@ -1,8 +1,13 @@ |
|||
using System; |
|||
|
|||
namespace Avalonia.Win32 |
|||
{ |
|||
static class PlatformConstants |
|||
public static class PlatformConstants |
|||
{ |
|||
public const string WindowHandleType = "HWND"; |
|||
public const string CursorHandleType = "HCURSOR"; |
|||
|
|||
public static readonly Version Windows8 = new Version(6, 2); |
|||
public static readonly Version Windows7 = new Version(6, 1); |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue