mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
18 lines
528 B
Go
18 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
|
|
}
|