25 Apr
2022
25 Apr
'22
6:34 p.m.
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.
Thanks, Piotr