8 references to ShellNotifyIcon
aspire-tray (8)
TrayApplication.cs (4)
230
if (NativeMethods.
ShellNotifyIcon
(NativeMethods.NimAdd, ref _iconData) == 0)
240
if (NativeMethods.
ShellNotifyIcon
(NativeMethods.NimSetVersion, ref _iconData) == 0)
263
if (NativeMethods.
ShellNotifyIcon
(NativeMethods.NimModify, ref _iconData) == 0)
493
Cleanup(NativeMethods.
ShellNotifyIcon
(NativeMethods.NimDelete, ref _iconData) != 0, "Shell_NotifyIconW(NIM_DELETE)");
TrayApplication.Icons.cs (1)
23
if (_iconAdded && NativeMethods.
ShellNotifyIcon
(NativeMethods.NimModify, ref _iconData) == 0)
TrayApplication.NativeSmoke.cs (3)
36
var added = NativeMethods.
ShellNotifyIcon
(NativeMethods.NimAdd, ref data);
40
NativeCallException.Require(NativeMethods.
ShellNotifyIcon
(NativeMethods.NimDelete, ref data) != 0, "Shell_NotifyIconW(smoke control delete)");
407
NativeCallException.Require(NativeMethods.
ShellNotifyIcon
(NativeMethods.NimDelete, ref _iconData) != 0, "Shell_NotifyIconW(smoke delete)");