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