Esme Povirk (@madewokherd) commented about dlls/gdiplus/tests/region.c:
+ GpStatus status; + GpGraphics *graphics; + GpBitmap *bitmap; + GpPath *path, *path2; + const GpPointF inside_path_points[] = { { 20, 20 }, { 80, 20 }, { 80, 80 } }; + const GpPointF outside_path_points[] = { { 100, 20 }, { 101, 20 }, { 101, 80 } }; + GpRegion *region; + GpBrush *brush; + + status = GdipCreateBitmapFromScan0(100, 100, 400, PixelFormat32bppARGB, NULL, &bitmap); + expect(Ok, status); + + status = GdipGetImageGraphicsContext((GpImage*)bitmap, &graphics); + expect(Ok, status); + + GdipCreatePath(FillModeAlternate, &path); Please test status for the GdipCreatePath calls. We don't need to handle the failure, just need to know if it fails.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10724#note_137778