From 4664b963b9c7722ad17b7b8f4aa184f0d0b3b904 Mon Sep 17 00:00:00 2001 From: Mike Hearn Date: Thu, 26 Feb 2004 05:29:26 +0000 Subject: [PATCH] Add a comment to explain the LockWindowUpdate situation. --- windows/dce.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/windows/dce.c b/windows/dce.c index 927c9de7ed..6f0340b2c8 100644 --- a/windows/dce.c +++ b/windows/dce.c @@ -380,6 +380,13 @@ HDC WINAPI GetDCEx( HWND hwnd, HRGN hrgnClip, DWORD flags ) 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 @@ BOOL WINAPI LockWindowUpdate( HWND hwnd ) { static HWND lockedWnd; + /* This function is fully implemented by the following patch: + * + * http://www.winehq.org/hypermail/wine-patches/2004/01/0142.html + * + * but in order to work properly, it needs the ability to invalidate + * DCEs in other processes when the lock window is changed, which + * isn't possible yet. + * -mike + */ + FIXME("(%p), partial stub!\n",hwnd); USER_Lock();