Implements IRegisteredTaskCollection get_Count and get_Item along with a test for both. When making the tests individually they were very similar so I merged them into one test function as per feedback.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8166
thanks for taking care of this
1) from pattern page Rémi pointed out, failures to get export also exist in Win8, so your patch title should be modified accordingly
2) testing for skip_nt on top of test_FreeConsoleStd(void) alongside pVerifyConsoleIoHandle should workaround the Win7 failures
the rest LGTM
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8162#note_104799
On Fri May 23 16:23:37 2025 +0000, Matteo Bruni wrote:
> Out of curiosity, what happens with BMP?
It's just unsupported for BMP for some reason, there's a test in surface.c for it:
```
hr = D3DXGetImageInfoFromFileInMemory(bmp_2bpp, sizeof(bmp_2bpp), &info);
ok(hr == D3DXERR_INVALIDDATA, "D3DXGetImageInfoFromFileInMemory returned %#lx, expected %#x\n", hr, D3DXERR_INVALIDDATA);
```
Which explains why we had all the other WIC indexed formats _except_ for 2bpp in our `wic_pixel_formats` table :) Seems odd to support 1bpp and 4bpp but not 2bpp, but :man_shrugging:
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8056#note_104797