Dmitry Timoshkov : wuapi: Fix object constructors to match the changed prototype.
Alexandre Julliard
julliard at winehq.org
Mon Jan 13 12:46:31 CST 2014
Module: wine
Branch: master
Commit: 1f99a11f5709ba769d425307a5bf6328a591b830
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1f99a11f5709ba769d425307a5bf6328a591b830
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Sat Jan 11 13:07:19 2014 +0900
wuapi: Fix object constructors to match the changed prototype.
---
dlls/wuapi/downloader.c | 5 +++--
dlls/wuapi/installer.c | 5 +++--
dlls/wuapi/searcher.c | 5 +++--
dlls/wuapi/systeminfo.c | 5 +++--
dlls/wuapi/updates.c | 5 +++--
5 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/dlls/wuapi/downloader.c b/dlls/wuapi/downloader.c
index 6bed32e..e17e155 100644
--- a/dlls/wuapi/downloader.c
+++ b/dlls/wuapi/downloader.c
@@ -29,6 +29,7 @@
#include "ole2.h"
#include "initguid.h"
#include "wuapi.h"
+#include "wuapi_private.h"
#include "wine/debug.h"
@@ -248,11 +249,11 @@ static const struct IUpdateDownloaderVtbl update_downloader_vtbl =
update_downloader_EndDownload
};
-HRESULT UpdateDownloader_create( IUnknown *pUnkOuter, LPVOID *ppObj )
+HRESULT UpdateDownloader_create( LPVOID *ppObj )
{
update_downloader *downloader;
- TRACE("(%p,%p)\n", pUnkOuter, ppObj);
+ TRACE("(%p)\n", ppObj);
downloader = HeapAlloc( GetProcessHeap(), 0, sizeof(*downloader) );
if (!downloader) return E_OUTOFMEMORY;
diff --git a/dlls/wuapi/installer.c b/dlls/wuapi/installer.c
index f60d618..46c8699 100644
--- a/dlls/wuapi/installer.c
+++ b/dlls/wuapi/installer.c
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
+#include "wuapi_private.h"
#include "wine/debug.h"
@@ -342,11 +343,11 @@ static const struct IUpdateInstallerVtbl update_installer_vtbl =
update_installer_get_RebootRequiredBeforeInstallation
};
-HRESULT UpdateInstaller_create( IUnknown *pUnkOuter, LPVOID *ppObj )
+HRESULT UpdateInstaller_create( LPVOID *ppObj )
{
update_installer *installer;
- TRACE("(%p,%p)\n", pUnkOuter, ppObj);
+ TRACE("(%p)\n", ppObj);
installer = HeapAlloc( GetProcessHeap(), 0, sizeof(*installer) );
if (!installer) return E_OUTOFMEMORY;
diff --git a/dlls/wuapi/searcher.c b/dlls/wuapi/searcher.c
index 522f99a..1ca8020 100644
--- a/dlls/wuapi/searcher.c
+++ b/dlls/wuapi/searcher.c
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
+#include "wuapi_private.h"
#include "wine/debug.h"
@@ -314,11 +315,11 @@ static const struct IUpdateSearcherVtbl update_searcher_vtbl =
update_searcher_put_ServiceID
};
-HRESULT UpdateSearcher_create( IUnknown *pUnkOuter, LPVOID *ppObj )
+HRESULT UpdateSearcher_create( LPVOID *ppObj )
{
update_searcher *searcher;
- TRACE("(%p,%p)\n", pUnkOuter, ppObj);
+ TRACE("(%p)\n", ppObj);
searcher = HeapAlloc( GetProcessHeap(), 0, sizeof(*searcher) );
if (!searcher) return E_OUTOFMEMORY;
diff --git a/dlls/wuapi/systeminfo.c b/dlls/wuapi/systeminfo.c
index f3f635f..7c62bed 100644
--- a/dlls/wuapi/systeminfo.c
+++ b/dlls/wuapi/systeminfo.c
@@ -29,6 +29,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
+#include "wuapi_private.h"
#include "wine/debug.h"
@@ -143,11 +144,11 @@ static const struct ISystemInformationVtbl systeminfo_vtbl =
systeminfo_get_RebootRequired
};
-HRESULT SystemInformation_create(IUnknown *pUnkOuter, LPVOID *ppObj)
+HRESULT SystemInformation_create(LPVOID *ppObj)
{
systeminfo *info;
- TRACE("(%p,%p)\n", pUnkOuter, ppObj);
+ TRACE("(%p)\n", ppObj);
info = HeapAlloc(GetProcessHeap(), 0, sizeof(*info));
if (!info)
diff --git a/dlls/wuapi/updates.c b/dlls/wuapi/updates.c
index d099fb4..4f6648c 100644
--- a/dlls/wuapi/updates.c
+++ b/dlls/wuapi/updates.c
@@ -28,6 +28,7 @@
#include "winuser.h"
#include "ole2.h"
#include "wuapi.h"
+#include "wuapi_private.h"
#include "wine/debug.h"
@@ -202,11 +203,11 @@ static const struct IAutomaticUpdatesVtbl automatic_updates_vtbl =
automatic_updates_EnableService
};
-HRESULT AutomaticUpdates_create( IUnknown *pUnkOuter, LPVOID *ppObj )
+HRESULT AutomaticUpdates_create( LPVOID *ppObj )
{
automatic_updates *updates;
- TRACE("(%p,%p)\n", pUnkOuter, ppObj);
+ TRACE("(%p)\n", ppObj);
updates = HeapAlloc( GetProcessHeap(), 0, sizeof(*updates) );
if (!updates) return E_OUTOFMEMORY;
More information about the wine-cvs
mailing list