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

Semi Implentet ExcludeUpdateRgn from user32.dll

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Incomplete
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Operating System: ReactOS
      Platform: x86 Hardware

      Description

      int
      STDCALL
      ExcludeUpdateRgn(
        HDC hDC,
        HWND hWnd)
      {
          HRGN update_rgn = CreateRectRgn( 0, 0, 0, 0 );
          INT ret = GetUpdateRgn( hWnd, update_rgn, FALSE );
       
          if (ret != ERROR)
          {
              POINT pt;
       
              GetDCOrgEx( hDC, &pt );
              MapWindowPoints( 0, hWnd, &pt, 1 );
              OffsetRgn( update_rgn, -pt.x, -pt.y );
              ret = ExtSelectClipRgn( hDC, update_rgn, RGN_DIFF );
              DeleteObject( update_rgn );
          }
          return ret;
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bug zilla Bug Zilla
                Reporter:
                thomasla ThomasLa
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: