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

Function SHGetStockIconInfo

pkg/sys/zsyscall_windows.go:277–283  ·  view source on GitHub ↗
(id int32, flags uint32, icon *ShStockIcon)

Source from the content-addressed store, hash-verified

275}
276
277func SHGetStockIconInfo(id int32, flags uint32, icon *ShStockIcon) (err error) {
278 r1, _, e1 := syscall.Syscall(procSHGetStockIconInfo.Addr(), 3, uintptr(id), uintptr(flags), uintptr(unsafe.Pointer(icon)))
279 if r1 != 0 {
280 err = errnoErr(e1)
281 }
282 return
283}
284
285func ShellNotifyIcon(msg NotifyIconMessage, data *NotifyIconData) (err error) {
286 r1, _, e1 := syscall.Syscall(procShell_NotifyIconW.Addr(), 2, uintptr(msg), uintptr(unsafe.Pointer(data)), 0)

Callers 1

loadIconFromResourceMethod · 0.92

Calls 1

errnoErrFunction · 0.70

Tested by

no test coverage detected