Author: akhaldi Date: Wed Apr 23 15:06:09 2014 New Revision: 62928
URL: http://svn.reactos.org/svn/reactos?rev=62928&view=rev Log: [WBEMDISP] * Sync with Wine 1.7.17. CORE-8080
Modified: trunk/reactos/dll/win32/wbemdisp/locator.c trunk/reactos/dll/win32/wbemdisp/main.c trunk/reactos/dll/win32/wbemdisp/wbemdisp_classes.idl trunk/reactos/dll/win32/wbemdisp/wbemdisp_private.h trunk/reactos/dll/win32/wbemdisp/wbemdisp_tlb.idl trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/wbemdisp/locator.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wbemdisp/locator.... ============================================================================== --- trunk/reactos/dll/win32/wbemdisp/locator.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/wbemdisp/locator.c [iso-8859-1] Wed Apr 23 15:06:09 2014 @@ -239,11 +239,11 @@ locator_get_Security_ };
-HRESULT SWbemLocator_create( IUnknown *unk, void **obj ) +HRESULT SWbemLocator_create( void **obj ) { struct locator *locator;
- TRACE( "%p, %p\n", unk, obj ); + TRACE( "%p\n", obj );
if (!(locator = heap_alloc( sizeof(*locator) ))) return E_OUTOFMEMORY; locator->ISWbemLocator_iface.lpVtbl = &locator_vtbl;
Modified: trunk/reactos/dll/win32/wbemdisp/main.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wbemdisp/main.c?r... ============================================================================== --- trunk/reactos/dll/win32/wbemdisp/main.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/wbemdisp/main.c [iso-8859-1] Wed Apr 23 15:06:09 2014 @@ -67,7 +67,7 @@
static IParseDisplayName winmgmts = { &WinMGMTSVtbl };
-static HRESULT WinMGMTS_create(IUnknown *outer, void **ppv) +static HRESULT WinMGMTS_create(void **ppv) { *ppv = &winmgmts; return S_OK; @@ -76,7 +76,7 @@ struct factory { IClassFactory IClassFactory_iface; - HRESULT (*fnCreateInstance)( IUnknown *, LPVOID * ); + HRESULT (*fnCreateInstance)( LPVOID * ); };
static inline struct factory *impl_from_IClassFactory( IClassFactory *iface ) @@ -118,14 +118,11 @@ *obj = NULL; if (outer) return CLASS_E_NOAGGREGATION;
- hr = factory->fnCreateInstance( outer, (LPVOID *)&unk ); + hr = factory->fnCreateInstance( (LPVOID *)&unk ); if (FAILED( hr )) return hr;
hr = IUnknown_QueryInterface( unk, riid, obj ); - if (FAILED( hr )) - return hr; - IUnknown_Release( unk ); return hr; }
Modified: trunk/reactos/dll/win32/wbemdisp/wbemdisp_classes.idl URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wbemdisp/wbemdisp... ============================================================================== --- trunk/reactos/dll/win32/wbemdisp/wbemdisp_classes.idl [iso-8859-1] (original) +++ trunk/reactos/dll/win32/wbemdisp/wbemdisp_classes.idl [iso-8859-1] Wed Apr 23 15:06:09 2014 @@ -18,6 +18,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */
+#pragma makedep register + [ threading(apartment), uuid(172bddf8-ceea-11d1-8b05-00600806d9b6),
Modified: trunk/reactos/dll/win32/wbemdisp/wbemdisp_private.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wbemdisp/wbemdisp... ============================================================================== --- trunk/reactos/dll/win32/wbemdisp/wbemdisp_private.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/wbemdisp/wbemdisp_private.h [iso-8859-1] Wed Apr 23 15:06:09 2014 @@ -37,7 +37,7 @@ #include <wine/debug.h> WINE_DEFAULT_DEBUG_CHANNEL(wbemdisp);
-HRESULT SWbemLocator_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN; +HRESULT SWbemLocator_create(LPVOID *) DECLSPEC_HIDDEN;
static void *heap_alloc( size_t len ) __WINE_ALLOC_SIZE(1); static inline void *heap_alloc( size_t len )
Modified: trunk/reactos/dll/win32/wbemdisp/wbemdisp_tlb.idl URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/wbemdisp/wbemdisp... ============================================================================== --- trunk/reactos/dll/win32/wbemdisp/wbemdisp_tlb.idl [iso-8859-1] (original) +++ trunk/reactos/dll/win32/wbemdisp/wbemdisp_tlb.idl [iso-8859-1] Wed Apr 23 15:06:09 2014 @@ -18,4 +18,6 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */
+#pragma makedep regtypelib + #include "wbemdisp.idl"
Modified: trunk/reactos/media/doc/README.WINE URL: http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=6... ============================================================================== --- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original) +++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Wed Apr 23 15:06:09 2014 @@ -200,7 +200,7 @@ reactos/dll/win32/uxtheme # Forked reactos/dll/win32/vbscript # Synced to Wine-1.7.1 reactos/dll/win32/version # Synced to Wine-1.7.1 -reactos/dll/win32/wbemdisp # Synced to Wine-1.7.1 +reactos/dll/win32/wbemdisp # Synced to Wine-1.7.17 reactos/dll/win32/wbemprox # Synced to Wine-1.7.2 reactos/dll/win32/wer # Autosync reactos/dll/win32/windowscodecs # Synced to Wine-1.7.1