accidental blowout of the project files
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Windows.Sdk;
|
||||
using System;
|
||||
|
||||
namespace TheXamlGuy.NotificationFlyout.Common.Helpers
|
||||
{
|
||||
public class WindowHelper
|
||||
{
|
||||
public static IntPtr GetHandle(string windowName) => PInvoke.FindWindow(windowName, null);
|
||||
|
||||
public static uint GetDpi(IntPtr handle) => PInvoke.GetDpiForWindow((HWND)handle);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user