mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-07-01 04:20:21 +12:00
16 lines
367 B
C#
16 lines
367 B
C#
|
using System;
|
|||
|
using System.Runtime.InteropServices;
|
|||
|
|
|||
|
namespace SystemTrayMenu.NativeMethods
|
|||
|
{
|
|||
|
public static partial class NativeMethods
|
|||
|
{
|
|||
|
[DllImport("User32.dll")]
|
|||
|
private static extern int DestroyIcon(IntPtr hIcon);
|
|||
|
public static void User32DestroyIcon(IntPtr hIcon)
|
|||
|
{
|
|||
|
_ = DestroyIcon(hIcon);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|