WIN32K code cleanup.
[reactos.git] / reactos / subsys / win32k / eng / mouse.c
index 2df0c5b..2999856 100644 (file)
@@ -1,6 +1,6 @@
 /*
- *  ReactOS kernel
- *  Copyright (C) 1998, 1999, 2000, 2001 ReactOS Team
+ *  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
@@ -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: mouse.c,v 1.22 2003/03/28 15:27:47 gvg Exp $
+/* $Id: mouse.c,v 1.23 2003/05/18 17:16:17 ea Exp $
  *
  * PROJECT:          ReactOS kernel
  * PURPOSE:          Mouse
@@ -35,6 +35,7 @@
 #include "include/msgqueue.h"
 #include "include/object.h"
 #include "include/winsta.h"
+#include <include/mouse.h>
 
 #define NDEBUG
 #include <debug.h>
@@ -117,7 +118,7 @@ static UCHAR DefaultCursor[256] = {
 
 /* FUNCTIONS *****************************************************************/
 
-INT
+INT STDCALL
 MouseSafetyOnDrawStart(PSURFOBJ SurfObj, PSURFGDI SurfGDI, LONG HazardX1,
                       LONG HazardY1, LONG HazardX2, LONG HazardY2)
 /*
@@ -167,7 +168,7 @@ MouseSafetyOnDrawStart(PSURFOBJ SurfObj, PSURFGDI SurfGDI, LONG HazardX1,
   return(TRUE);
 }
 
-INT
+INT FASTCALL
 MouseSafetyOnDrawEnd(PSURFOBJ SurfObj, PSURFGDI SurfGDI)
 /*
  * FUNCTION: Notify the mouse driver that drawing has finished on a surface.
@@ -205,7 +206,7 @@ MouseSafetyOnDrawEnd(PSURFOBJ SurfObj, PSURFGDI SurfGDI)
   return(TRUE);
 }
 
-VOID
+VOID FASTCALL
 MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount)
 /*
  * FUNCTION: Call by the mouse driver when input events occur.
@@ -309,7 +310,7 @@ MouseGDICallBack(PMOUSE_INPUT_DATA Data, ULONG InputCount)
   }
 }
 
-VOID
+VOID FASTCALL
 EnableMouse(HDC hDisplayDC)
 {
   PDC dc;
@@ -357,4 +358,4 @@ EnableMouse(HDC hDisplayDC)
     MouseEnabled = FALSE;
   }
 }
-
+/* EOF */