Author: akhaldi
Date: Sat Apr 26 17:23:51 2014
New Revision: 62989
URL:
http://svn.reactos.org/svn/reactos?rev=62989&view=rev
Log:
[WUAPI]
* Sync with Wine 1.7.17.
CORE-8080
Modified:
trunk/reactos/dll/win32/wuapi/downloader.c
trunk/reactos/dll/win32/wuapi/installer.c
trunk/reactos/dll/win32/wuapi/main.c
trunk/reactos/dll/win32/wuapi/searcher.c
trunk/reactos/dll/win32/wuapi/session.c
trunk/reactos/dll/win32/wuapi/systeminfo.c
trunk/reactos/dll/win32/wuapi/updates.c
trunk/reactos/dll/win32/wuapi/wuapi_private.h
trunk/reactos/dll/win32/wuapi/wuapi_tlb.idl
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/wuapi/downloader.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/downloader…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/downloader.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/downloader.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -234,11 +234,11 @@
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;
Modified: trunk/reactos/dll/win32/wuapi/installer.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/installer.…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/installer.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/installer.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -329,11 +329,11 @@
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;
Modified: trunk/reactos/dll/win32/wuapi/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/main.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/main.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -22,7 +22,7 @@
#include <rpcproxy.h>
-typedef HRESULT (*fnCreateInstance)( IUnknown *pUnkOuter, LPVOID *ppObj );
+typedef HRESULT (*fnCreateInstance)( LPVOID *ppObj );
typedef struct _wucf
{
@@ -72,14 +72,11 @@
if (pOuter)
return CLASS_E_NOAGGREGATION;
- r = This->pfnCreateInstance( pOuter, (LPVOID *)&punk );
+ r = This->pfnCreateInstance( (LPVOID *)&punk );
if (FAILED(r))
return r;
r = IUnknown_QueryInterface( punk, riid, ppobj );
- if (FAILED(r))
- return r;
-
IUnknown_Release( punk );
return r;
}
Modified: trunk/reactos/dll/win32/wuapi/searcher.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/searcher.c…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/searcher.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/searcher.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -301,11 +301,11 @@
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;
Modified: trunk/reactos/dll/win32/wuapi/session.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/session.c?…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/session.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/session.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -165,7 +165,7 @@
IUpdateSearcher **retval )
{
TRACE("%p\n", This);
- return UpdateSearcher_create( NULL, (LPVOID *)retval );
+ return UpdateSearcher_create( (LPVOID *)retval );
}
static HRESULT WINAPI update_session_CreateUpdateDownloader(
@@ -173,7 +173,7 @@
IUpdateDownloader **retval )
{
TRACE("%p\n", This);
- return UpdateDownloader_create( NULL, (LPVOID *)retval );
+ return UpdateDownloader_create( (LPVOID *)retval );
}
static HRESULT WINAPI update_session_CreateUpdateInstaller(
@@ -181,7 +181,7 @@
IUpdateInstaller **retval )
{
TRACE("%p\n", This);
- return UpdateInstaller_create( NULL, (LPVOID *)retval );
+ return UpdateInstaller_create( (LPVOID *)retval );
}
static const struct IUpdateSessionVtbl update_session_vtbl =
@@ -203,11 +203,11 @@
update_session_CreateUpdateInstaller
};
-HRESULT UpdateSession_create( IUnknown *pUnkOuter, LPVOID *ppObj )
+HRESULT UpdateSession_create( LPVOID *ppObj )
{
update_session *session;
- TRACE("(%p,%p)\n", pUnkOuter, ppObj);
+ TRACE("(%p)\n", ppObj);
session = HeapAlloc( GetProcessHeap(), 0, sizeof(*session) );
if (!session) return E_OUTOFMEMORY;
Modified: trunk/reactos/dll/win32/wuapi/systeminfo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/systeminfo…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/systeminfo.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/systeminfo.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -130,11 +130,11 @@
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)
Modified: trunk/reactos/dll/win32/wuapi/updates.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/updates.c?…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/updates.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/updates.c [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -189,11 +189,11 @@
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;
Modified: trunk/reactos/dll/win32/wuapi/wuapi_private.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/wuapi_priv…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/wuapi_private.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/wuapi_private.h [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -36,11 +36,11 @@
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
-extern HRESULT AutomaticUpdates_create( IUnknown *pUnkOuter, LPVOID *ppObj )
DECLSPEC_HIDDEN;
-extern HRESULT UpdateSession_create( IUnknown *pUnkOuter, LPVOID *ppObj )
DECLSPEC_HIDDEN;
-extern HRESULT UpdateSearcher_create( IUnknown *pUnkOuter, LPVOID *ppObj )
DECLSPEC_HIDDEN;
-extern HRESULT UpdateDownloader_create( IUnknown *pUnkOuter, LPVOID *ppObj )
DECLSPEC_HIDDEN;
-extern HRESULT UpdateInstaller_create( IUnknown *pUnkOuter, LPVOID *ppObj )
DECLSPEC_HIDDEN;
-extern HRESULT SystemInformation_create(IUnknown *pUnkOuter, LPVOID *ppObj)
DECLSPEC_HIDDEN;
+extern HRESULT AutomaticUpdates_create( LPVOID *ppObj ) DECLSPEC_HIDDEN;
+extern HRESULT UpdateSession_create( LPVOID *ppObj ) DECLSPEC_HIDDEN;
+extern HRESULT UpdateSearcher_create( LPVOID *ppObj ) DECLSPEC_HIDDEN;
+extern HRESULT UpdateDownloader_create( LPVOID *ppObj ) DECLSPEC_HIDDEN;
+extern HRESULT UpdateInstaller_create( LPVOID *ppObj ) DECLSPEC_HIDDEN;
+extern HRESULT SystemInformation_create( LPVOID *ppObj ) DECLSPEC_HIDDEN;
#endif /* _WUAPI_PRIVATE_H_ */
Modified: trunk/reactos/dll/win32/wuapi/wuapi_tlb.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wuapi/wuapi_tlb.…
==============================================================================
--- trunk/reactos/dll/win32/wuapi/wuapi_tlb.idl [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/wuapi/wuapi_tlb.idl [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -18,4 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#pragma makedep regtypelib
+
#include "wuapi.idl"
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Sat Apr 26 17:23:51 2014
@@ -216,7 +216,7 @@
reactos/dll/win32/wldap32 # Synced to Wine-1.7.17
reactos/dll/win32/wmi # Synced to Wine-1.7.17
reactos/dll/win32/wtsapi32 # Synced to Wine-1.7.17
-reactos/dll/win32/wuapi # Synced to Wine-1.7.1
+reactos/dll/win32/wuapi # Synced to Wine-1.7.17
reactos/dll/win32/xinput1_1 # Synced to Wine-1.7.1
reactos/dll/win32/xinput1_2 # Synced to Wine-1.7.1
reactos/dll/win32/xinput1_3 # Synced to Wine-1.7.1