3 May
2022
3 May
'22
7:58 p.m.
Zhiyi Zhang <zzhang(a)codeweavers.com> writes:
+ hr = IApiInformationStatics_IsTypePresent(statics, NULL, &ret); + ok(hr == E_INVALIDARG, "IsTypePresent failed, hr %#lx.\n", hr); + +#if 0 /* Crash on Windows */ + hr = IApiInformationStatics_IsTypePresent(statics, str, NULL); + ok(hr == E_INVALIDARG, "IsTypePresent failed, hr %#lx.\n", hr); +#endif
We usually prefer "if (0)" for that sort of things, so that the code can still be compile checked. -- Alexandre Julliard julliard(a)winehq.org