Description
selectpen-null-dc.patch
This patch fixes the last error code of GdiSelectPen.
If HDC is NULL for GdiSelectPen, then the last error should be ERROR_INVALID_HANDLE rather than ERROR_INVALID_PARAMETER.
before: gdiobj: 49 tests executed (0 marked as todo, 1 failure), 0 skipped.
after: gdiobj: 49 tests executed (0 marked as todo, 0 failures), 0 skipped.