Commit in reactos/subsys/win32k/ntuser on MAIN
prop.c+1-101.7 -> 1.8
minor fix

reactos/subsys/win32k/ntuser
prop.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- prop.c	19 Feb 2004 21:12:09 -0000	1.7
+++ prop.c	22 Feb 2004 14:09:51 -0000	1.8
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: prop.c,v 1.7 2004/02/19 21:12:09 weiden Exp $
+/* $Id: prop.c,v 1.8 2004/02/22 14:09:51 weiden Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -185,11 +185,8 @@
   PPROPERTY Prop;
   HANDLE Data = NULL;
 
-  IntAcquireWinLockShared();
-
   if (!(WindowObject = IntGetWindowObject(hWnd)))
   {
-    IntReleaseWinLock();
     SetLastWin32Error(ERROR_INVALID_WINDOW_HANDLE);
     return FALSE;
   }
@@ -201,8 +198,6 @@
   {
     Data = Prop->Data;
   }
-  
-  IntReleaseWinLock();
 
   return(Data);
 }
@@ -237,11 +232,8 @@
   PWINDOW_OBJECT Wnd;
   BOOL ret;
 
-  IntAcquireWinLockExclusive();
-
   if (!(Wnd = IntGetWindowObject(hWnd)))
   {
-    IntReleaseWinLock();
     SetLastWin32Error(ERROR_INVALID_WINDOW_HANDLE);
     return FALSE;
   }
@@ -250,7 +242,6 @@
   ret = IntSetProp(Wnd, Atom, Data);
   ExReleaseFastMutexUnsafe(&Wnd->PropListLock);
   
-  IntReleaseWinLock();
   return ret;
 }
 
CVSspam 0.2.8