Author: jimtabor
Date: Fri Jan 22 02:29:21 2010
New Revision: 45198
URL:
http://svn.reactos.org/svn/reactos?rev=45198&view=rev
Log:
[Win32k]
- Remove CriticalRegion calls.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dclife.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dclife.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] Fri Jan 22
02:29:21 2010
@@ -182,34 +182,28 @@
*/
if (pDC->rosdc.hClipRgn)
{ // FIXME! HAX!!!
- KeEnterCriticalRegion();
Index = GDI_HANDLE_GET_INDEX(pDC->rosdc.hClipRgn);
Entry = &GdiHandleTable->Entries[Index];
if (Entry->UserData) FreeObjectAttr(Entry->UserData);
Entry->UserData = NULL;
- KeLeaveCriticalRegion();
//
if (!GDIOBJ_SetOwnership(pDC->rosdc.hClipRgn, Owner)) return FALSE;
}
if (pDC->rosdc.hVisRgn)
{ // FIXME! HAX!!!
- KeEnterCriticalRegion();
Index = GDI_HANDLE_GET_INDEX(pDC->rosdc.hVisRgn);
Entry = &GdiHandleTable->Entries[Index];
if (Entry->UserData) FreeObjectAttr(Entry->UserData);
Entry->UserData = NULL;
- KeLeaveCriticalRegion();
//
if (!GDIOBJ_SetOwnership(pDC->rosdc.hVisRgn, Owner)) return FALSE;
}
if (pDC->rosdc.hGCClipRgn)
{ // FIXME! HAX!!!
- KeEnterCriticalRegion();
Index = GDI_HANDLE_GET_INDEX(pDC->rosdc.hGCClipRgn);
Entry = &GdiHandleTable->Entries[Index];
if (Entry->UserData) FreeObjectAttr(Entry->UserData);
Entry->UserData = NULL;
- KeLeaveCriticalRegion();
//
if (!GDIOBJ_SetOwnership(pDC->rosdc.hGCClipRgn, Owner)) return FALSE;
}