From e71ca90a578424af3c138249bb9912033b13712b Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 26 Jul 2007 16:40:23 +0000 Subject: [PATCH] remove NtGdiCreateEllipticRegionIndirect from win32k svn path=/trunk/; revision=27859 --- .../subsystems/win32/win32k/objects/region.c | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/reactos/subsystems/win32/win32k/objects/region.c b/reactos/subsystems/win32/win32k/objects/region.c index b8490294476..968c467338a 100644 --- a/reactos/subsystems/win32/win32k/objects/region.c +++ b/reactos/subsystems/win32/win32k/objects/region.c @@ -2027,35 +2027,6 @@ NtGdiCreateEllipticRgn(INT Left, Right - Left, Bottom - Top); } -HRGN -STDCALL -NtGdiCreateEllipticRgnIndirect(CONST PRECT Rect) -{ - RECT SafeRect = {0}; - NTSTATUS Status = STATUS_SUCCESS; - - _SEH_TRY - { - ProbeForRead(Rect, - sizeof(RECT), - 1); - SafeRect = *Rect; - } - _SEH_HANDLE - { - Status = _SEH_GetExceptionCode(); - } - _SEH_END; - if(!NT_SUCCESS(Status)) - { - SetLastNtError(Status); - return NULL; - } - - return NtGdiCreateRoundRectRgn(SafeRect.left, SafeRect.top, SafeRect.right, SafeRect.bottom, - SafeRect.right - SafeRect.left, SafeRect.bottom - SafeRect.top); -} - HRGN STDCALL NtGdiCreateRectRgn(INT LeftRect, INT TopRect, INT RightRect, INT BottomRect) {