mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-29 11:30:28 +12:00
15 lines
346 B
C#
15 lines
346 B
C#
|
using System.Runtime.InteropServices;
|
|||
|
|
|||
|
namespace SystemTrayMenu.NativeMethods
|
|||
|
{
|
|||
|
public static partial class NativeMethods
|
|||
|
{
|
|||
|
[DllImport("user32.dll")]
|
|||
|
private static extern bool SetProcessDPIAware();
|
|||
|
public static void User32SetProcessDPIAware()
|
|||
|
{
|
|||
|
_ = SetProcessDPIAware();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|