7 writes to _iconData
aspire-tray (7)
TrayApplication.cs (5)
174
_iconData
= new NativeMethods.NotifyIconData
231
if (NativeMethods.ShellNotifyIcon(NativeMethods.NimAdd, ref
_iconData
) == 0)
241
if (NativeMethods.ShellNotifyIcon(NativeMethods.NimSetVersion, ref
_iconData
) == 0)
264
if (NativeMethods.ShellNotifyIcon(NativeMethods.NimModify, ref
_iconData
) == 0)
501
Cleanup(NativeMethods.ShellNotifyIcon(NativeMethods.NimDelete, ref
_iconData
) != 0, "Shell_NotifyIconW(NIM_DELETE)");
TrayApplication.Icons.cs (1)
29
if (_iconAdded && NativeMethods.ShellNotifyIcon(NativeMethods.NimModify, ref
_iconData
) == 0)
TrayApplication.NativeSmoke.cs (1)
198
NativeCallException.Require(NativeMethods.ShellNotifyIcon(NativeMethods.NimDelete, ref
_iconData
) != 0, "Shell_NotifyIconW(smoke delete)");
8 references to _iconData
aspire-tray (8)
TrayApplication.cs (2)
235
Program.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);
16
fixed (char* tip =
_iconData
.Tip)
TrayApplication.NativeSmoke.cs (4)
18
internal nint IconForSmoke =>
_iconData
.Icon;
31
Flags =
_iconData
.Flags,
32
CallbackMessage =
_iconData
.CallbackMessage,
218
NativeSmokeHarness.Require(_iconAdded &&
_iconData
.Icon == _artwork!.TrayIcon(GetIconState(state)),