Commit 21a2b606 authored by Ryan Cumming's avatar Ryan Cumming Committed by Alexandre Julliard

Make LockWindowUpdate return more Windows-like values.

parent 6da43665
......@@ -652,6 +652,27 @@ HWND WINAPI WindowFromDC( HDC hDC )
*/
BOOL WINAPI LockWindowUpdate( HWND hwnd )
{
FIXME("(%x), stub!\n",hwnd);
static HWND lockedWnd;
FIXME("(%x), partial stub!\n",hwnd);
USER_Lock();
if (lockedWnd)
{
if (!hwnd)
{
/* Unlock lockedWnd */
/* FIXME: Do something */
}
else
{
/* Attempted to lock a second window */
/* Return FALSE and do nothing */
USER_Unlock();
return FALSE;
}
}
lockedWnd = hwnd;
USER_Unlock();
return TRUE;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment