The IUpdateService::IsRegisteredWithAU (opnum 12) method retrieves whether the update service is registered with the automatic update agent.

 HRESULT IsRegisteredWithAU(
   [out, retval] VARIANT_BOOL* retval
 );

retval: MUST be set either to VARIANT_TRUE if the service is registered with the automatic update agent or to VARIANT_FALSE if not.

Return Values: The method MUST return information in an HRESULT data structure. The severity bit in the structure identifies the following conditions:

Exceptions Thrown: No exceptions are thrown beyond those thrown by the underlying RPC protocol [MS-RPCE].

This method SHOULD return the value of the IsRegisteredWithAU ADM element.