AddServiceFlag enumeration (wuapi.h)

Defines the possible ways in which the IUpdateServiceManager2 interface can process service registration requests.

Syntax

typedef enum tagAddServiceFlag {
  asfAllowPendingRegistration = 0x1,
  asfAllowOnlineRegistration = 0x2,
  asfRegisterServiceWithAU = 0x4
} AddServiceFlag;

Constants

 
asfAllowPendingRegistration
Value: 0x1
Allows the update agent to process the service registration at a later time, when it next performs an online scan for updates.
asfAllowOnlineRegistration
Value: 0x2
Allows the update agent to process the service registration immediately if network connectivity is available.
asfRegisterServiceWithAU
Value: 0x4
Registers the service with Automatic Updates when the service is added.

Remarks

For info about how IUpdateServiceManager2::AddService2 behaves when you specify different combinations of AddServiceFlag values in the flags parameter, see the Remarks section of IUpdateServiceManager2::AddService2.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Header wuapi.h

See also

IUpdateServiceManager2::AddService2