mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
19 lines
528 B
Go
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
|
|
}
|