user32: Return some fake information for an inter-process GetWindowPlacement.
This commit is contained in:
parent
026d41c504
commit
1829fc51c1
|
@ -1229,8 +1229,18 @@ BOOL WINAPI GetWindowPlacement( HWND hwnd, WINDOWPLACEMENT *wndpl )
|
|||
}
|
||||
if (pWnd == WND_OTHER_PROCESS)
|
||||
{
|
||||
if (IsWindow( hwnd )) FIXME( "not supported on other process window %p\n", hwnd );
|
||||
return FALSE;
|
||||
if (!IsWindow( hwnd )) return FALSE;
|
||||
FIXME( "not supported on other process window %p\n", hwnd );
|
||||
/* provide some dummy information */
|
||||
wndpl->length = sizeof(*wndpl);
|
||||
wndpl->showCmd = SW_SHOWNORMAL;
|
||||
wndpl->flags = 0;
|
||||
wndpl->ptMinPosition.x = -1;
|
||||
wndpl->ptMinPosition.y = -1;
|
||||
wndpl->ptMaxPosition.x = -1;
|
||||
wndpl->ptMaxPosition.y = -1;
|
||||
GetWindowRect( hwnd, &wndpl->rcNormalPosition );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* update the placement according to the current style */
|
||||
|
|
Loading…
Reference in New Issue