Documentation ¶
Overview ¶
Package servicemgr adds or removes the registration of the update service with Windows Update Agent.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceID ¶
type ServiceID string
ServiceID indicates which update source is being scanned. More info and common ServiceIDs can be found here:
https://docs.microsoft.com/en-us/windows/deployment/update/how-windows-update-works
const ( // Default is the Unspecified/Default serviceID. Default ServiceID = "00000000-0000-0000-0000-000000000000" // WindowsUpdate ServiceID. WindowsUpdate ServiceID = "9482f4b4-e343-43b6-b170-9a65bc822c77" // MicrosoftUpdate ServiceID. MicrosoftUpdate ServiceID = "7971f918-a847-4430-9279-4a52d1efe18d" // WindowsStore ServiceID. WindowsStore ServiceID = "855E8A7C-ECB4-4CA3-B045-1DFA50104289" // WSUS ServiceID. WSUS ServiceID = "3DA21691-E39D-4da6-8A4B-B43877BCB1B7" )
type ServiceManager ¶
type ServiceManager struct {
ServiceManager *ole.IDispatch
}
ServiceManager describes an update service manager COM object. https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdateservicemanager
Click to show internal directories.
Click to hide internal directories.