ole32: IPersistStream is also implemented by any object that implements IStream.
This commit is contained in:
parent
d9b7c36009
commit
32d39ea6ed
|
@ -122,6 +122,7 @@ static HRESULT WINAPI StgStreamImpl_QueryInterface(
|
|||
* 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;
|
||||
|
|
Loading…
Reference in New Issue