(id int32, flags uint32, icon *ShStockIcon)
| 275 | } |
| 276 | |
| 277 | func 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 | |
| 285 | func ShellNotifyIcon(msg NotifyIconMessage, data *NotifyIconData) (err error) { |
| 286 | r1, _, e1 := syscall.Syscall(procShell_NotifyIconW.Addr(), 2, uintptr(msg), uintptr(unsafe.Pointer(data)), 0) |
no test coverage detected