mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 17:06:29 +00:00
[Win32k]
- Return the correct complexity, pass all user32 wine test_winregion tests. svn path=/trunk/; revision=48930
This commit is contained in:
parent
658175b3a0
commit
0922c986a4
|
@ -4225,7 +4225,7 @@ IntGetWindowRgn(PWINDOW_OBJECT Window, HRGN hRgn)
|
|||
|
||||
if((pRgn = RGNOBJAPI_Lock(hRgn, NULL)))
|
||||
{
|
||||
Ret = pRgn->rdh.iType;
|
||||
Ret = REGION_Complexity(pRgn);
|
||||
RGNOBJAPI_Unlock(pRgn);
|
||||
}
|
||||
else
|
||||
|
@ -4264,7 +4264,7 @@ IntGetWindowRgnBox(PWINDOW_OBJECT Window, RECTL *Rect)
|
|||
|
||||
if((pRgn = RGNOBJAPI_Lock(VisRgn, NULL)))
|
||||
{
|
||||
Ret = pRgn->rdh.iType;
|
||||
Ret = REGION_Complexity(pRgn);
|
||||
*Rect = pRgn->rdh.rcBound;
|
||||
RGNOBJAPI_Unlock(pRgn);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue