2.2.15 AddServiceFlag

The AddServiceFlag enumeration defines values that control how an update service is registered.

 typedef enum tagAddServiceFlag
 {
   asfAllowPendingRegistration = 0x00000001,
   asfAllowOnlineRegistration = 0x00000002,
   asfRegisterServiceWithAU = 0x00000004,
 } AddServiceFlag;

asfAllowPendingRegistration:  Allows the update agent to process the service registration at a later time if the service registration cannot be performed before returning from the IUpdateServiceManager2::AddService2 (opnum 18) (section 3.44.5.4) method call.

asfAllowOnlineRegistration:  Allows the update agent to process the service registration during the IUpdateServiceManager2::AddService2 (opnum 18) method call if network connectivity is available.

asfRegisterServiceWithAU:  Registers the service with the automatic update agent when the service is added.