Skip to content
Permalink
Browse files

shobj: expose overlay icon

  • Loading branch information...
zx2c4 committed May 14, 2019
1 parent 69e0898 commit eca8fa91158526205f9daead26562e435f30836f
Showing with 11 additions and 0 deletions.
  1. +11 −0 shobj.go
@@ -60,3 +60,14 @@ func (obj *ITaskbarList3) SetProgressState(hwnd HWND, state int) HRESULT {
uintptr(state))
return HRESULT(ret)
}

func (obj *ITaskbarList3) SetOverlayIcon(hwnd HWND, icon HICON, description *uint16) HRESULT {
ret, _, _ := syscall.Syscall6(obj.LpVtbl.SetOverlayIcon, 4,
uintptr(unsafe.Pointer(obj)),
uintptr(hwnd),
uintptr(icon),
uintptr(unsafe.Pointer(description)),
0,
0)
return HRESULT(ret)
}

0 comments on commit eca8fa9

Please sign in to comment.
You can’t perform that action at this time.