[PATCH 1/2] oleacc/tests: Add tests for IIS_IsOleaccProxy service on default accessible objects.

Connor McAdams cmcadams at codeweavers.com
Mon Apr 25 13:37:20 CDT 2022


On Mon, Apr 25, 2022 at 08:34:39PM +0200, Piotr Caban wrote:
> Hi Connor,
> 
> On 4/25/22 18:18, Connor McAdams wrote:
> > +        unk = NULL;
> > +        hr = IServiceProvider_QueryService(service, &IID_IUnknown, &IID_IUnknown, (void **)&unk);
> > +        ok(hr == E_INVALIDARG, "got %#lx\n", hr);
> > +        ok(!unk, "unk != NULL\n");
> Is there a reason for setting unk to NULL before the call? On Windows 10
> QueryService resets it on failure.
> 

No, I didn't do this for any particular reason. I can set it to a dummy
value and check for it being set to NULL and send a v2 if that makes
sense.



More information about the wine-devel mailing list