mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-10-01 01:27:33 +13:00
14 lines
343 B
C#
14 lines
343 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SystemTrayMenu.DllImports
|
|
{
|
|
public static partial class NativeMethods
|
|
{
|
|
[DllImport("user32.dll")]
|
|
private static extern bool SetProcessDPIAware();
|
|
public static void User32SetProcessDPIAware()
|
|
{
|
|
_ = SetProcessDPIAware();
|
|
}
|
|
}
|
|
}
|