mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:56:00 +00:00
1.fixed return type for NtSystemParametersInfo()
2. added missing definitions (NT5.1+) for SystemParametersInfo() to w32api svn path=/trunk/; revision=9858
This commit is contained in:
parent
008c89dfce
commit
3977da5dc6
3 changed files with 22 additions and 9 deletions
|
@ -1538,7 +1538,7 @@ STDCALL
|
|||
NtUserSwitchDesktop(
|
||||
HDESK hDesktop);
|
||||
|
||||
DWORD
|
||||
BOOL
|
||||
STDCALL
|
||||
NtUserSystemParametersInfo(
|
||||
UINT uiAction,
|
||||
|
|
|
@ -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 @@ IntSystemParametersInfo(
|
|||
/*
|
||||
* @implemented
|
||||
*/
|
||||
DWORD
|
||||
BOOL
|
||||
STDCALL
|
||||
NtUserSystemParametersInfo(
|
||||
UINT uiAction,
|
||||
|
|
|
@ -1249,6 +1249,25 @@ extern "C" {
|
|||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue