Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-13132

GdiSelectPen's error code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.5
    • Win32SS
    • April 2017

    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.

      Attachments

        Activity

          People

            ThFabba ThFabba
            katayama_hirofumi_mz Katayama Hirofumi MZ
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: