Commit bd132fed authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

oleaut32/tests: Use IsEqualIID instead of memcmp to compare REFIIDs.

parent ffac31da
......@@ -939,11 +939,11 @@ static HRESULT WINAPI NoStatStreamImpl_QueryInterface(
NoStatStreamImpl* const This=(NoStatStreamImpl*)iface;
if (ppvObject==0) return E_INVALIDARG;
*ppvObject = 0;
if (memcmp(&IID_IUnknown, riid, sizeof(IID_IUnknown)) == 0)
if (IsEqualIID(&IID_IUnknown, riid))
{
*ppvObject = This;
}
else if (memcmp(&IID_IStream, riid, sizeof(IID_IStream)) == 0)
else if (IsEqualIID(&IID_IStream, riid))
{
*ppvObject = This;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment