Replaced int for SystemMetric as first parameter on GetSystemMetricsForDpi (#79)

pull/83/head
David Hall 2019-12-26 17:43:56 -07:00
parent 6867a42fc7
commit 4efd504b33
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ namespace Vanara.PInvoke
// nIndex, UINT dpi );
[DllImport(Lib.User32, SetLastError = true, ExactSpelling = true)]
[PInvokeData("winuser.h", MSDNShortId = "E95BB417-81FA-4824-BE68-A1E3E003F8E0")]
public static extern int GetSystemMetricsForDpi(int nIndex, uint dpi);
public static extern int GetSystemMetricsForDpi(SystemMetric nIndex, uint dpi);
/// <summary>Retrieves the value of one of the system-wide parameters, taking into account the provided DPI value.</summary>
/// <param name="uiAction">