Core ReactOS
  1. Core ReactOS
  2. CORE-502

Semi Implentet ExcludeUpdateRgn from user32.dll

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major 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;
      }
      

        Issue Links

          Activity

          Hide
          weiden
          added a comment -

          please provide patch files against svn trunk in the future.

          Show
          weiden
          added a comment - please provide patch files against svn trunk in the future.
          Hide
          GvG
          added a comment -

          Not committed due to IP concerns

          Show
          GvG
          added a comment - Not committed due to IP concerns
          Hide
          HBelusca
          added a comment -

          Note: This code excerpt is exactly the one from Wine's dlls/user32/painting.c

          Show
          HBelusca
          added a comment - Note: This code excerpt is exactly the one from Wine's dlls/user32/painting.c

            People

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

              Dates

              • Created:
                Updated:
                Resolved: