Fixed window handle check in GetDCEx.
This commit is contained in:
parent
55557319a7
commit
10a5ded457
|
@ -362,9 +362,9 @@ HDC WINAPI GetDCEx( HWND hwnd, HRGN hrgnClip, DWORD flags )
|
|||
hwnd, hrgnClip, (unsigned)flags);
|
||||
|
||||
if (!hwnd) hwnd = GetDesktopWindow();
|
||||
if (!(full = WIN_IsCurrentProcess( hwnd )) && full != GetDesktopWindow())
|
||||
if (!(full = WIN_IsCurrentProcess( hwnd )))
|
||||
{
|
||||
FIXME( "not supported yet on other process window %x\n", full );
|
||||
FIXME( "not supported yet on other process window %x\n", hwnd );
|
||||
return 0;
|
||||
}
|
||||
hwnd = full;
|
||||
|
|
Loading…
Reference in New Issue