8 references to ShellNotifyIcon
aspire-tray (8)
TrayApplication.cs (4)
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 (3)
42var added = NativeMethods.ShellNotifyIcon(NativeMethods.NimAdd, ref data); 46NativeCallException.Require(NativeMethods.ShellNotifyIcon(NativeMethods.NimDelete, ref data) != 0, "Shell_NotifyIconW(smoke control delete)"); 198NativeCallException.Require(NativeMethods.ShellNotifyIcon(NativeMethods.NimDelete, ref _iconData) != 0, "Shell_NotifyIconW(smoke delete)");