Robert Shearman : ole32: IPersistStream is also implemented by any object that implements IStream.

Alexandre Julliard julliard at wine.codeweavers.com
Fri May 5 15:24:26 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 32d39ea6ed40c38d5096fc349efeba6cb8ec06b2
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=32d39ea6ed40c38d5096fc349efeba6cb8ec06b2

Author: Robert Shearman <rob at codeweavers.com>
Date:   Wed May  3 22:23:52 2006 +0100

ole32: IPersistStream is also implemented by any object that implements IStream.

---

 dlls/ole32/stg_stream.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/ole32/stg_stream.c b/dlls/ole32/stg_stream.c
index 9bbb9a8..66fbaaa 100644
--- a/dlls/ole32/stg_stream.c
+++ b/dlls/ole32/stg_stream.c
@@ -122,6 +122,7 @@ static HRESULT WINAPI StgStreamImpl_Quer
    * Compare the riid with the interface IDs implemented by this object.
    */
   if (IsEqualGUID(&IID_IUnknown, riid)||
+      IsEqualGUID(&IID_IPersistStream, riid)||
       IsEqualGUID(&IID_IStream, riid))
   {
     *ppvObject = (IStream*)This;




More information about the wine-cvs mailing list