call IntGdiExtSelectClipRgn from inside win32k instead of NtGdiSelectClipRgn

remove NtGdiSelectClipRgn from win32k

svn path=/trunk/; revision=28207
This commit is contained in:
Timo Kreuzer 2007-08-07 01:27:17 +00:00
parent 4237ee71bd
commit 234451155e
3 changed files with 4 additions and 10 deletions

View file

@ -433,12 +433,6 @@ BOOL STDCALL NtGdiRectVisible(HDC hDC,
return Result;
}
INT STDCALL
NtGdiSelectClipRgn(HDC hDC, HRGN hRgn)
{
return NtGdiExtSelectClipRgn(hDC, hRgn, RGN_COPY);
}
int STDCALL NtGdiSetMetaRgn(HDC hDC)
{
UNIMPLEMENTED;

View file

@ -1419,8 +1419,8 @@ IntGdiSetDCState ( HDC hDC, HDC hDCSave )
}
DC_UnlockDc ( dc );
#else
IntGdiExtSelectClipRgn(dc, dcs->w.hClipRgn, RGN_COPY);
DC_UnlockDc ( dc );
NtGdiSelectClipRgn(hDC, dcs->w.hClipRgn);
#endif
NtGdiSelectObject( hDC, dcs->w.hBitmap );
@ -2050,14 +2050,15 @@ NtGdiSelectObject(HDC hDC, HGDIOBJ hGDIObj)
return objOrg;
case GDI_OBJECT_TYPE_REGION:
DC_UnlockDc (dc);
/*
* The return value is one of the following values:
* SIMPLEREGION
* COMPLEXREGION
* NULLREGION
*/
return (HGDIOBJ) NtGdiSelectClipRgn(hDC, (HRGN) hGDIObj);
objectType = IntGdiExtSelectClipRgn(dc, (HRGN)hGDIObj, RGN_COPY);
DC_UnlockDc (dc);
return (HGDIOBJ)objectType;
default:
break;

View file

@ -694,7 +694,6 @@ NtUserValidateHandleSecure 1
NtGdiAlphaBlend 11
#
#ReactOS specify syscall
NtGdiSelectClipRgn 2
NtGdiSelectObject 2
NtGdiSelectPalette 3
NtGdiSetAbortProc 2