wuapi: Fix object constructors to match the changed prototype.

This commit is contained in:
Dmitry Timoshkov 2014-01-11 13:07:19 +09:00 committed by Alexandre Julliard
parent 8953c74e34
commit 1f99a11f57
5 changed files with 15 additions and 10 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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)

View File

@ -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;