mirror of
https://github.com/reactos/wine.git
synced 2025-02-25 07:22:28 +00:00
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…
x
Reference in New Issue
Block a user