URLMON: define GetSoftwareUpdateInfo and ISoftDistExt

Mike McCormack mike at codeweavers.com
Tue May 24 05:00:49 CDT 2005


ChangeLog:
* define GetSoftwareUpdateInfo and ISoftDistExt
-------------- next part --------------
Index: include/urlmon.idl
===================================================================
RCS file: /home/wine/wine/include/urlmon.idl,v
retrieving revision 1.15
diff -u -p -r1.15 urlmon.idl
--- include/urlmon.idl	6 May 2005 14:32:48 -0000	1.15
+++ include/urlmon.idl	24 May 2005 10:00:59 -0000
@@ -20,7 +20,7 @@
 import "objidl.idl";
 import "oleidl.idl";
 import "servprov.idl";
-/*import "msxml.idl";*/
+import "msxml.idl";
 
 interface IInternetProtocolSink;
 
@@ -1012,6 +1012,61 @@ interface IInternetZoneManager : IUnknow
         [in] DWORD dwReserved);
 }
 
+typedef struct _tagSOFTDISTINFO
+{
+    ULONG cbSize;
+    DWORD dwFlags;
+    DWORD dwAdState;
+    LPWSTR szTitle;
+    LPWSTR szAbstract;
+    LPWSTR szHREF;
+    DWORD dwInstalledVersionMS;
+    DWORD dwInstalledVersionLS;
+    DWORD dwUpdateVersionMS;
+    DWORD dwUpdateVersionLS;
+    DWORD dwAdvertisedVersionMS;
+    DWORD dwAdvertisedVersionLS;
+    DWORD dwReserved;
+} SOFTDISTINFO, *LPSOFTDISTINFO;
+
+typedef struct _tagCODEBASEHOLD
+{
+    DWORD cbSize;
+    LPWSTR szDistUnit;
+    LPWSTR szCodeBase;
+    DWORD dwVersionMS;
+    DWORD dwVersionLS;
+    DWORD dwStyle;
+} CODEBASEHOLD, *LPCODEBASEHOLD;
+
+[
+    local,
+    object,
+    uuid(b15b8dc1-c7e1-11d0-8680-00aa00bdcb71),
+    pointer_default(unique)
+]
+interface ISoftDistExt : IUnknown
+{
+    HRESULT ProcessSoftDist(
+        [in] LPCWSTR szCDFURL,
+        [in] IXMLElement *pSoftDistElement,
+        [in, out] LPSOFTDISTINFO lpsdi );
+
+    HRESULT GetFirstCodeBase(
+        [in] LPWSTR *szCodeBase,
+        [in] LPDWORD dwMaxSize );
+
+    HRESULT GetNextCodeBase(
+        [in] LPWSTR *szCodeBase,
+        [in] LPDWORD dwMaxSize );
+
+    HRESULT AsyncInstallDistributionUnit(
+        [in] IBindCtx *pbc,
+        [in] LPVOID lpReserved,
+        [in] DWORD flags,
+        [in] LPCODEBASEHOLD lpcbh);
+}
+
 cpp_quote("DEFINE_GUID(CLSID_InternetSecurityManager, 0x7b8a2d94, 0x0ac9, 0x11d1, 0x89, 0x6c, 0x00, 0xc0, 0x4f, 0xB6, 0xbf, 0xc4);")
 cpp_quote("DEFINE_GUID(CLSID_InternetZoneManager, 0x7B8A2D95, 0x0AC9, 0x11D1, 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4);")
 cpp_quote("DEFINE_GUID(IID_IAsyncMoniker, 0x79EAC9D3, 0xBAF9, 0x11CE, 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B);")
@@ -1058,6 +1113,7 @@ cpp_quote("HRESULT WINAPI CoInternetGetS
 cpp_quote("HRESULT WINAPI CoInternetCombineUrl(LPCWSTR,LPCWSTR,DWORD,LPWSTR,DWORD,DWORD*,DWORD);")
 cpp_quote("HRESULT WINAPI CoInternetCompareUrl(LPCWSTR,LPCWSTR,DWORD);");
 cpp_quote("HRESULT WINAPI CoInternetCreateZoneManager(IServiceProvider*, IInternetZoneManager**, DWORD);");
+cpp_quote("HRESULT WINAPI GetSoftwareUpdateInfo( LPCWSTR szDistUnit, LPSOFTDISTINFO psdi);");
 
 cpp_quote("#define OInetCombineUrl CoInternetCombineUrl")
 cpp_quote("#define OInetCompareUrl CoInternetCompareUrl")


More information about the wine-patches mailing list