fleet/orbit/pkg/windows/windowsupdate/iupdatedownloadcontent.go
2023-11-01 20:11:35 -06:00

19 lines
528 B
Go

// based on github.com/kolide/launcher/pkg/osquery/tables
package windowsupdate
import (
"github.com/go-ole/go-ole"
)
// IUpdateDownloadContent represents the download content of an update.
// https://docs.microsoft.com/zh-cn/windows/win32/api/wuapi/nn-wuapi-iupdatedownloadcontent
type IUpdateDownloadContent struct {
disp *ole.IDispatch //nolint:unused
DownloadUrl string
}
func toIUpdateDownloadContents(updateDownloadContentsDisp *ole.IDispatch) ([]*IUpdateDownloadContent, error) {
// TODO
return nil, nil
}