3.44.4.2 IUpdateServiceManager::RegisterServiceWithAU (Opnum 10)
The IUpdateServiceManager::RegisterServiceWithAU (opnum 10) method registers an update service with the automatic update agent.
-
HRESULT RegisterServiceWithAU( [in] BSTR serviceID );
serviceID: A string identifying the update service to register with the automatic update agent. This service MUST already be registered with the update agent.
Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions:
If the severity bit is set to 0, the method completed successfully.
If the severity bit is set to 1, the method failed and encountered a fatal error.
Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].
This method SHOULD register the given service with the automatic update agent through an implementation-defined interface. This method SHOULD set the ServiceRegisteredWithAU ADM element to the given update service identifier.