update for HEAD-2003091401
[reactos.git] / subsys / win32k / ntuser / userobj.c
index 31e037f..f395230 100644 (file)
@@ -1,3 +1,21 @@
+/*
+ *  ReactOS W32 Subsystem
+ *  Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 ReactOS Team
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 2 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
 /* $Id$
  *
  * COPYRIGHT:        See COPYING in the top level directory
@@ -17,7 +35,7 @@
 
 static  LIST_ENTRY  UserObjectList;
 
-PUSER_OBJECT  USEROBJ_AllocObject (WORD size, WORD magic)
+PUSER_OBJECT FASTCALL USEROBJ_AllocObject (WORD size, WORD magic)
 {
   PUSER_OBJECT_HEADER  newObject;
 
@@ -37,7 +55,7 @@ PUSER_OBJECT  USEROBJ_AllocObject (WORD size, WORD magic)
   return  UserObjectHeaderToBody (newObject);
 }
 
-BOOL  USEROBJ_FreeObject (PUSER_OBJECT object, WORD magic)
+BOOL FASTCALL USEROBJ_FreeObject (PUSER_OBJECT object, WORD magic)
 {
   PUSER_OBJECT_HEADER  objectHeader;
 
@@ -56,7 +74,7 @@ BOOL  USEROBJ_FreeObject (PUSER_OBJECT object, WORD magic)
   return  TRUE;
 }
 
-HUSEROBJ  USEROBJ_PtrToHandle (PUSER_OBJECT  object, WORD  magic)
+HUSEROBJ FASTCALL USEROBJ_PtrToHandle (PUSER_OBJECT object, WORD  magic)
 {
   PUSER_OBJECT_HEADER  objectHeader;
   
@@ -73,7 +91,7 @@ HUSEROBJ  USEROBJ_PtrToHandle (PUSER_OBJECT  object, WORD  magic)
   return  UserObjectHeaderToHandle(objectHeader);
 }
 
-PUSER_OBJECT  USEROBJ_HandleToPtr (HUSEROBJ  handle, WORD  magic)
+PUSER_OBJECT FASTCALL USEROBJ_HandleToPtr (HUSEROBJ  handle, WORD  magic)
 {
   PUSER_OBJECT_HEADER  objectHeader;
 
@@ -91,7 +109,7 @@ PUSER_OBJECT  USEROBJ_HandleToPtr (HUSEROBJ  handle, WORD  magic)
   return  UserObjectHeaderToBody (objectHeader);
 }
 
-BOOL  USEROBJ_LockObject (HUSEROBJ  objectHandle)
+BOOL FASTCALL USEROBJ_LockObject (HUSEROBJ  objectHandle)
 {
   PUSER_OBJECT_HEADER  objectHeader;
 
@@ -106,7 +124,7 @@ BOOL  USEROBJ_LockObject (HUSEROBJ  objectHandle)
   return  TRUE;
 }
 
-BOOL  USEROBJ_UnlockObject (HUSEROBJ  objectHandle)
+BOOL FASTCALL USEROBJ_UnlockObject (HUSEROBJ  objectHandle)
 {
   PUSER_OBJECT_HEADER  objectHeader;
 
@@ -121,5 +139,4 @@ BOOL  USEROBJ_UnlockObject (HUSEROBJ  objectHandle)
   return  TRUE;
 }
 
-
-
+/* EOF */