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

Method SetState

progressindicator.go:56–62  ·  view source on GitHub ↗
(state PIState)

Source from the content-addressed store, hash-verified

54}
55
56func (pi *ProgressIndicator) SetState(state PIState) error {
57 if hr := pi.taskbarList3.SetProgressState(pi.hwnd, (int)(state)); win.FAILED(hr) {
58 return errorFromHRESULT("ITaskbarList3.setprogressState", hr)
59 }
60 pi.state = state
61 return nil
62}
63
64func (pi *ProgressIndicator) State() PIState {
65 return pi.state

Callers

nothing calls this directly

Calls 1

errorFromHRESULTFunction · 0.85

Tested by

no test coverage detected