7 writes to _iconData
aspire-tray (7)
TrayApplication.cs (5)
174_iconData = new NativeMethods.NotifyIconData 231if (NativeMethods.ShellNotifyIcon(NativeMethods.NimAdd, ref _iconData) == 0) 241if (NativeMethods.ShellNotifyIcon(NativeMethods.NimSetVersion, ref _iconData) == 0) 264if (NativeMethods.ShellNotifyIcon(NativeMethods.NimModify, ref _iconData) == 0) 501Cleanup(NativeMethods.ShellNotifyIcon(NativeMethods.NimDelete, ref _iconData) != 0, "Shell_NotifyIconW(NIM_DELETE)");
TrayApplication.Icons.cs (1)
29if (_iconAdded && NativeMethods.ShellNotifyIcon(NativeMethods.NimModify, ref _iconData) == 0)
TrayApplication.NativeSmoke.cs (1)
198NativeCallException.Require(NativeMethods.ShellNotifyIcon(NativeMethods.NimDelete, ref _iconData) != 0, "Shell_NotifyIconW(smoke delete)");
8 references to _iconData
aspire-tray (8)
TrayApplication.cs (2)
235Program.Log($"Shell_NotifyIconW(NIM_ADD) rejected the smoke icon: architecture={RuntimeInformation.ProcessArchitecture}, size={_iconData.Size}, attempt={_restoreAttempts + 1}."); 240_iconData.Version = NativeMethods.NotifyIconVersion4;
TrayApplication.Icons.cs (2)
15_iconData.Icon = _artwork!.TrayIcon(status); 16fixed (char* tip = _iconData.Tip)
TrayApplication.NativeSmoke.cs (4)
18internal nint IconForSmoke => _iconData.Icon; 31Flags = _iconData.Flags, 32CallbackMessage = _iconData.CallbackMessage, 218NativeSmokeHarness.Require(_iconAdded && _iconData.Icon == _artwork!.TrayIcon(GetIconState(state)),