From b25e185280c9610d0dbb365d39dcfd19a4f72fc5 Mon Sep 17 00:00:00 2001 From: yousan Date: Sat, 8 Feb 2025 14:19:17 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=E3=81=97=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=AA=E3=81=84=E9=96=A2=E6=95=B0=E3=81=AE=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Assets/uDesktopMascot/Scripts/Utility/NotifyIconUtility.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/uDesktopMascot/Scripts/Utility/NotifyIconUtility.cs b/Assets/uDesktopMascot/Scripts/Utility/NotifyIconUtility.cs index b8005ae0..326e6a6a 100644 --- a/Assets/uDesktopMascot/Scripts/Utility/NotifyIconUtility.cs +++ b/Assets/uDesktopMascot/Scripts/Utility/NotifyIconUtility.cs @@ -74,9 +74,6 @@ public enum NIM : uint [DllImport("shell32.dll", CharSet = CharSet.Unicode)] private static extern bool Shell_NotifyIcon(NIM dwMessage, ref NOTIFYICONDATA lpData); - [DllImport("user32.dll")] - private static extern IntPtr LoadIcon(IntPtr hInstance, IntPtr lpIconName); - [DllImport("user32.dll")] private static extern bool DestroyIcon(IntPtr hIcon); @@ -104,8 +101,6 @@ public enum NIM : uint private const int SW_HIDE = 0; private const int SW_SHOW = 5; - private static readonly IntPtr IDI_APPLICATION = (IntPtr)0x7F00; // デフォルトアイコン - private static NOTIFYICONDATA notifyIconData; private static bool notifyIconAdded = false;