Author: akhaldi
Date: Sun Feb 26 19:20:43 2017
New Revision: 73972

URL: http://svn.reactos.org/svn/reactos?rev=73972&view=rev
Log:
[PSTOREC] Sync with Wine Staging 2.2. CORE-12823

8d3af56 pstorec: Fix QueryInterface() of IPStore.

Modified:
    trunk/reactos/dll/win32/pstorec/pstorec.c
    trunk/reactos/media/doc/README.WINE

Modified: trunk/reactos/dll/win32/pstorec/pstorec.c
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/pstorec/pstorec.c?rev=73972&r1=73971&r2=73972&view=diff
==============================================================================
--- trunk/reactos/dll/win32/pstorec/pstorec.c   [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/pstorec/pstorec.c   [iso-8859-1] Sun Feb 26 
19:20:43 2017
@@ -71,13 +71,13 @@
 {
     PStore_impl *This = impl_from_IPStore(iface);
 
-    TRACE("%p %s\n",This,debugstr_guid(riid));
+    TRACE("%p %s %p\n", This, debugstr_guid(riid), ppvObj);
 
     *ppvObj = NULL;
 
-    if (IsEqualIID(riid, &IID_IUnknown))
+    if (IsEqualIID(riid, &IID_IPStore) || IsEqualIID(riid, &IID_IUnknown))
     {
-        *ppvObj = This;
+        *ppvObj = &This->IPStore_iface;
     }
 
     if (*ppvObj)

Modified: trunk/reactos/media/doc/README.WINE
URL: 
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=73972&r1=73971&r2=73972&view=diff
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Sun Feb 26 19:20:43 2017
@@ -152,7 +152,7 @@
 reactos/dll/win32/powrprof            # Forked at Wine-1.0rc5
 reactos/dll/win32/printui             # Synced to WineStaging-1.9.11
 reactos/dll/win32/propsys             # Synced to WineStaging-1.9.16
-reactos/dll/win32/pstorec             # Synced to WineStaging-1.9.16
+reactos/dll/win32/pstorec             # Synced to WineStaging-2.2
 reactos/dll/win32/qmgr                # Synced to WineStaging-1.9.23
 reactos/dll/win32/qmgrprxy            # Synced to WineStaging-1.9.11
 reactos/dll/win32/query               # Synced to WineStaging-1.9.11


Reply via email to