MCPcopy Index your code
hub / github.com/lxn/walk / SetCompleted

Method SetCompleted

progressindicator.go:76–82  ·  view source on GitHub ↗
(completed uint32)

Source from the content-addressed store, hash-verified

74}
75
76func (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
84func (pi *ProgressIndicator) Completed() uint32 {
85 return pi.completed

Callers 1

RunMyDialogFunction · 0.80

Calls 1

errorFromHRESULTFunction · 0.85

Tested by

no test coverage detected