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;