wuapi: Add missing method stubs for IUpdateInstaller and IUpdateSearcher.
Hans Leidekker
hans at codeweavers.com
Wed Jun 15 02:52:26 CDT 2011
See http://bugs.winehq.org/show_bug.cgi?id=27481
---
dlls/wuapi/installer.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++
dlls/wuapi/searcher.c | 78 ++++++++++++++++++++++++++++++++++-
2 files changed, 185 insertions(+), 1 deletions(-)
diff --git a/dlls/wuapi/installer.c b/dlls/wuapi/installer.c
index efc6ea3..f60d618 100644
--- a/dlls/wuapi/installer.c
+++ b/dlls/wuapi/installer.c
@@ -213,6 +213,103 @@ static HRESULT WINAPI update_installer_put_Updates(
return E_NOTIMPL;
}
+static HRESULT WINAPI update_installer_BeginInstall(
+ IUpdateInstaller *This,
+ IUnknown *onProgressChanged,
+ IUnknown *onCompleted,
+ VARIANT state,
+ IInstallationJob **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_BeginUninstall(
+ IUpdateInstaller *This,
+ IUnknown *onProgressChanged,
+ IUnknown *onCompleted,
+ VARIANT state,
+ IInstallationJob **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_EndInstall(
+ IUpdateInstaller *This,
+ IInstallationJob *value,
+ IInstallationResult **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_EndUninstall(
+ IUpdateInstaller *This,
+ IInstallationJob *value,
+ IInstallationResult **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_Install(
+ IUpdateInstaller *This,
+ IInstallationResult **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_RunWizard(
+ IUpdateInstaller *This,
+ BSTR dialogTitle,
+ IInstallationResult **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_get_IsBusy(
+ IUpdateInstaller *This,
+ VARIANT_BOOL *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_Uninstall(
+ IUpdateInstaller *This,
+ IInstallationResult **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_get_AllowSourcePrompts(
+ IUpdateInstaller *This,
+ VARIANT_BOOL *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_put_AllowSourcePrompts(
+ IUpdateInstaller *This,
+ VARIANT_BOOL value )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_installer_get_RebootRequiredBeforeInstallation(
+ IUpdateInstaller *This,
+ VARIANT_BOOL *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
static const struct IUpdateInstallerVtbl update_installer_vtbl =
{
update_installer_QueryInterface,
@@ -232,6 +329,17 @@ static const struct IUpdateInstallerVtbl update_installer_vtbl =
update_installer_get_ParentWindow,
update_installer_get_Updates,
update_installer_put_Updates,
+ update_installer_BeginInstall,
+ update_installer_BeginUninstall,
+ update_installer_EndInstall,
+ update_installer_EndUninstall,
+ update_installer_Install,
+ update_installer_RunWizard,
+ update_installer_get_IsBusy,
+ update_installer_Uninstall,
+ update_installer_get_AllowSourcePrompts,
+ update_installer_put_AllowSourcePrompts,
+ update_installer_get_RebootRequiredBeforeInstallation
};
HRESULT UpdateInstaller_create( IUnknown *pUnkOuter, LPVOID *ppObj )
diff --git a/dlls/wuapi/searcher.c b/dlls/wuapi/searcher.c
index da3dd81..522f99a 100644
--- a/dlls/wuapi/searcher.c
+++ b/dlls/wuapi/searcher.c
@@ -217,6 +217,74 @@ static HRESULT WINAPI update_searcher_EndSearch(
return E_NOTIMPL;
}
+static HRESULT WINAPI update_searcher_EscapeString(
+ IUpdateSearcher *This,
+ BSTR unescaped,
+ BSTR *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_QueryHistory(
+ IUpdateSearcher *This,
+ LONG startIndex,
+ LONG count,
+ IUpdateHistoryEntryCollection **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_Search(
+ IUpdateSearcher *This,
+ BSTR criteria,
+ ISearchResult **retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_get_Online(
+ IUpdateSearcher *This,
+ VARIANT_BOOL *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_put_Online(
+ IUpdateSearcher *This,
+ VARIANT_BOOL value )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_GetTotalHistoryCount(
+ IUpdateSearcher *This,
+ LONG *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_get_ServiceID(
+ IUpdateSearcher *This,
+ BSTR *retval )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
+static HRESULT WINAPI update_searcher_put_ServiceID(
+ IUpdateSearcher *This,
+ BSTR value )
+{
+ FIXME("\n");
+ return E_NOTIMPL;
+}
+
static const struct IUpdateSearcherVtbl update_searcher_vtbl =
{
update_searcher_QueryInterface,
@@ -235,7 +303,15 @@ static const struct IUpdateSearcherVtbl update_searcher_vtbl =
update_searcher_get_ServerSelection,
update_searcher_put_ServerSelection,
update_searcher_BeginSearch,
- update_searcher_EndSearch
+ update_searcher_EndSearch,
+ update_searcher_EscapeString,
+ update_searcher_QueryHistory,
+ update_searcher_Search,
+ update_searcher_get_Online,
+ update_searcher_put_Online,
+ update_searcher_GetTotalHistoryCount,
+ update_searcher_get_ServiceID,
+ update_searcher_put_ServiceID
};
HRESULT UpdateSearcher_create( IUnknown *pUnkOuter, LPVOID *ppObj )
--
1.7.4.1
More information about the wine-patches
mailing list