MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / Delete

Method Delete

pkg/sys/shell.go:177–184  ·  view source on GitHub ↗

Delete deletes systray icon and disposes all resources.

()

Source from the content-addressed store, hash-verified

175
176// Delete deletes systray icon and disposes all resources.
177func (s *SystrayIcon) Delete() error {
178 var data NotifyIconData
179 data.Size = uint32(unsafe.Sizeof(data))
180 data.Flags = NotifyIconGUIDFlag
181 data.GUIDItem = SystrayIconGUID
182 data.HWnd = s.wnd
183 return ShellNotifyIcon(ShellDeleteIcon, &data)
184}
185
186// ShStockIcon receives information used to retrieve a stock shell icon.
187type ShStockIcon struct {

Callers 4

clearMethod · 0.45
removeServiceFunction · 0.45
installServiceFunction · 0.45
shutdownMethod · 0.45

Calls 1

ShellNotifyIconFunction · 0.85

Tested by

no test coverage detected