Skip to content
Snippets Groups Projects
Commit 792d89f5 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard
Browse files

oleaut32: Fix flag comparison in Picture Invoke.

One or more invoke flags can be passed into IDispatch::Invoke, but we
only care if INVOKEFLAG_PROPERTYGET is specified, and don't about any
others.
parent 5d282dc8
No related branches found
No related tags found
No related merge requests found
......@@ -2033,7 +2033,7 @@ static HRESULT WINAPI OLEPictureImpl_Invoke(
if (dispIdMember == DISPID_PICT_TYPE)
{
TRACE("DISPID_PICT_TYPE\n");
if (wFlags & ~INVOKE_PROPERTYGET)
if (!(wFlags & INVOKE_PROPERTYGET))
return DISP_E_PARAMNOTFOUND;
if (pDispParams->cArgs != 0)
return DISP_E_BADPARAMCOUNT;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment