Commit in reactos on MAIN
include/win32k/ntuser.h+1-11.136 -> 1.137
subsys/win32k/ntuser/misc.c+2-81.79 -> 1.80
w32api/include/winuser.h+191.6 -> 1.7
+22-9
3 modified files
1.fixed return type for NtSystemParametersInfo()
2. added missing definitions (NT5.1+) for SystemParametersInfo() to w32api

reactos/include/win32k
ntuser.h 1.136 -> 1.137
diff -u -r1.136 -r1.137
--- ntuser.h	28 May 2004 21:33:40 -0000	1.136
+++ ntuser.h	24 Jun 2004 09:44:05 -0000	1.137
@@ -1538,7 +1538,7 @@
 NtUserSwitchDesktop(
   HDESK hDesktop);
 
-DWORD
+BOOL
 STDCALL
 NtUserSystemParametersInfo(
   UINT uiAction,

reactos/subsys/win32k/ntuser
misc.c 1.79 -> 1.80
diff -u -r1.79 -r1.80
--- misc.c	20 Jun 2004 00:45:36 -0000	1.79
+++ misc.c	24 Jun 2004 09:44:06 -0000	1.80
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.79 2004/06/20 00:45:36 navaraf Exp $
+/* $Id: misc.c,v 1.80 2004/06/24 09:44:06 weiden Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -17,12 +17,6 @@
 /* registered Logon process */
 PW32PROCESS LogonProcess = NULL;
 
-/* FIXME - not yet defined in w32api :( */
-#define SPI_GETFOCUSBORDERWIDTH	(8206)
-#define SPI_SETFOCUSBORDERWIDTH	(8207)
-#define SPI_GETFOCUSBORDERHEIGHT	(8208)
-#define SPI_SETFOCUSBORDERHEIGHT	(8209)
-
 void W32kRegisterPrimitiveMessageQueue() {
   extern PUSER_MESSAGE_QUEUE pmPrimitiveMessageQueue;
   if( !pmPrimitiveMessageQueue ) {
@@ -819,7 +813,7 @@
 /*
  * @implemented
  */
-DWORD
+BOOL
 STDCALL
 NtUserSystemParametersInfo(
   UINT uiAction,

reactos/w32api/include
winuser.h 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- winuser.h	28 May 2004 14:31:49 -0000	1.6
+++ winuser.h	24 Jun 2004 09:44:06 -0000	1.7
@@ -1249,6 +1249,25 @@
 #define SPI_SETSELECTIONFADE 0x1015
 #define SPI_SETTOOLTIPANIMATION 0x1017
 #define SPI_SETTOOLTIPFADE 0x1019
+#if (WINVER >= 0x0501)
+#define FE_FONTSMOOTHINGORIENTATIONBGR 0
+#define FE_FONTSMOOTHINGORIENTATIONRGB 1
+#define FE_FONTSMOOTHINGSTANDARD 1
+#define FE_FONTSMOOTHINGCLEARTYPE 2
+#define FE_FONTSMOOTHINGDOCKING 32768
+#define SPI_GETMOUSECLICKLOCKTIME 8200
+#define SPI_SETMOUSECLICKLOCKTIME 8201
+#define SPI_GETFONTSMOOTHINGTYPE 8202
+#define SPI_SETFONTSMOOTHINGTYPE 8203
+#define SPI_GETFONTSMOOTHINGCONTRAST 8204
+#define SPI_SETFONTSMOOTHINGCONTRAST 8205
+#define SPI_GETFOCUSBORDERWIDTH 8206
+#define SPI_SETFOCUSBORDERWIDTH 8207
+#define SPI_GETFOCUSBORDERHEIGHT 8208
+#define SPI_SETFOCUSBORDERHEIGHT 8209
+#define SPI_GETFONTSMOOTHINGORIENTATION 8210
+#define SPI_SETFONTSMOOTHINGORIENTATION 8211
+#endif
 #endif
 
 #define SPIF_UPDATEINIFILE 1
CVSspam 0.2.8