(completed uint32)
| 74 | } |
| 75 | |
| 76 | func (pi *ProgressIndicator) SetCompleted(completed uint32) error { |
| 77 | if hr := pi.taskbarList3.SetProgressValue(pi.hwnd, completed, pi.total); win.FAILED(hr) { |
| 78 | return errorFromHRESULT("ITaskbarList3.SetProgressValue", hr) |
| 79 | } |
| 80 | pi.completed = completed |
| 81 | return nil |
| 82 | } |
| 83 | |
| 84 | func (pi *ProgressIndicator) Completed() uint32 { |
| 85 | return pi.completed |
no test coverage detected