Add a comment to explain LockWindowUpdate situation

Mike Hearn mh at codeweavers.com
Wed Feb 25 16:11:35 CST 2004


ChangeLog:
Add a comment to explain LockWindowUpdate situation

Index: windows/dce.c
===================================================================
RCS file: /home/wine/wine/windows/dce.c,v
retrieving revision 1.79
diff -u -r1.79 dce.c
--- windows/dce.c       15 Jan 2004 00:35:39 -0000      1.79
+++ windows/dce.c       25 Feb 2004 22:06:04 -0000
@@ -380,6 +380,13 @@
  
     TRACE("hwnd %p, hrgnClip %p, flags %08lx\n", hwnd, hrgnClip, flags);
  
+    if (flags & (DCX_LOCKWINDOWUPDATE)) {
+       FIXME("not yet supported - see source\n");
+       /* See the comment in LockWindowUpdate for more explanation. This flag is not implemented
+        * by that patch, but we need LockWindowUpdate implemented correctly before this can be done.
+        */
+    }
+
     if (!hwnd) hwnd = GetDesktopWindow();
     if (!(full = WIN_IsCurrentProcess( hwnd )))
     {
@@ -665,6 +672,16 @@
 {
     static HWND lockedWnd;
  
+    /* This function is fully implemented by the following patch:
+
+       http://www.winehq.org/hypermail/wine-patches/2004/01/0142.html
+
+       however it's blocking on inter-process invalidation. If you're
+       reading this and InvalidateRgn can now correctly invalidate
+       other process windows, please resubmit that patch on my behalf
+       -mike
+    */
+
     FIXME("(%p), partial stub!\n",hwnd);
  
     USER_Lock();





More information about the wine-patches mailing list