ole32/tests: Test for the correct IID.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0a2b0d4a95
commit
f1e406d71f
@ -788,7 +788,7 @@ static HRESULT WINAPI MessageFilter_QueryInterface(IMessageFilter *iface, REFIID
|
||||
if (ppvObj == NULL) return E_POINTER;
|
||||
|
||||
if (IsEqualGUID(riid, &IID_IUnknown) ||
|
||||
IsEqualGUID(riid, &IID_IClassFactory))
|
||||
IsEqualGUID(riid, &IID_IMessageFilter))
|
||||
{
|
||||
*ppvObj = iface;
|
||||
IMessageFilter_AddRef(iface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user