[PATCH] include/wuapi: Add WindowsUpdateAgentInfo coclass and interface.

Gijs Vermeulen gijsvrm at gmail.com
Fri Aug 27 08:29:17 CDT 2021


Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
---
 include/wuapi.idl | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/include/wuapi.idl b/include/wuapi.idl
index a0a8e4359a9..67045232636 100644
--- a/include/wuapi.idl
+++ b/include/wuapi.idl
@@ -1320,6 +1320,22 @@ interface ISystemInformation : IDispatch
         [out, retval] VARIANT_BOOL *retval);
 }
 
+[
+    object,
+    uuid(85713fa1-7796-4fa2-be3b-e2d6124dd373),
+    oleautomation,
+    dual,
+    nonextensible,
+    pointer_default(unique),
+    hidden
+]
+interface IWindowsUpdateAgentInfo : IDispatch
+{
+    [id(0x60020001)]
+    HRESULT GetInfo([in] VARIANT varInfoIdentifier,
+                    [out, retval] VARIANT *retval);
+}
+
 [
     helpstring("AutomaticUpdates Class"),
     threading(both),
@@ -1356,4 +1372,13 @@ coclass UpdateSession { interface IUpdateSession; }
 ]
 coclass SystemInformation { interface ISystemInformation; }
 
+[
+    helpstring("WindowsUpdateAgentInfo Class"),
+    threading(both),
+    progid("Microsoft.Update.AgentInfo.1"),
+    vi_progid("Microsoft.Update.AgentInfo"),
+    uuid(c2e88c2f-6f5b-4aaa-894b-55c847ad3a2d)
+]
+coclass WindowsUpdateAgentInfo { interface IWindowsUpdateAgentInfo; }
+
 } /* WUApiLib */
-- 
2.33.0




More information about the wine-devel mailing list