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

Semi Implentet ExcludeUpdateRgn from user32.dll

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: