ReactOS 0.4.15-dev-7924-g5949c20
sysparams.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _SPIVALUES
 
union  _SPIBUFFER
 

Macros

#define SPI_TABLE1_MIN   1
 
#define SPI_TABLE1_MAX   119
 
#define SPI_TABLE2_MIN   4096
 
#define SPI_TABLE2_MAX   4171
 
#define SPI_TABLE3_MIN   8192
 
#define SPI_TABLE3_MAX   8215
 
#define SPIF_PROTECT   0x80000
 
#define SPITESTPREF(x)   (gspv.dwUserPrefMask & x ? 1 : 0)
 

Typedefs

typedef enum _USERPREFMASKS USERPREFMASKS
 
typedef struct _SPIVALUES SPIVALUES
 
typedef struct _SPIVALUESPSPIVALUES
 
typedef union _SPIBUFFER SPIBUFFER
 

Enumerations

enum  _USERPREFMASKS {
  UPM_ACTIVEWINDOWTRACKING = 0x01 , UPM_MENUANIMATION = 0x02 , UPM_COMBOBOXANIMATION = 0x04 , UPM_LISTBOXSMOOTHSCROLLING = 0x08 ,
  UPM_GRADIENTCAPTIONS = 0x10 , UPM_KEYBOARDCUES = 0x20 , UPM_ACTIVEWNDTRKZORDER = 0x40 , UPM_HOTTRACKING = 0x80 ,
  UPM_RESERVED = 0x100 , UPM_MENUFADE = 0x200 , UPM_SELECTIONFADE = 0x400 , UPM_TOOLTIPANIMATION = 0x800 ,
  UPM_TOOLTIPFADE = 0x1000 , UPM_CURSORSHADOW = 0x2000 , UPM_CLICKLOCK = 0x8000 , UPM_FLATMENU = 0x20000 ,
  UPM_DROPSHADOW = 0x40000 , UPM_UIEFFECTS = 0x80000000 , UPM_DEFAULT = 0x80003E9E
}
 
enum  WALLPAPER_MODE {
  wmCenter = 0 , wmTile , wmStretch , wmFit ,
  wmFill
}
 

Functions

BOOL InitSysParams ()
 

Variables

SPIVALUES gspv
 
BOOL g_PaintDesktopVersion
 

Macro Definition Documentation

◆ SPI_TABLE1_MAX

#define SPI_TABLE1_MAX   119

Definition at line 7 of file sysparams.h.

◆ SPI_TABLE1_MIN

#define SPI_TABLE1_MIN   1

Definition at line 6 of file sysparams.h.

◆ SPI_TABLE2_MAX

#define SPI_TABLE2_MAX   4171

Definition at line 9 of file sysparams.h.

◆ SPI_TABLE2_MIN

#define SPI_TABLE2_MIN   4096

Definition at line 8 of file sysparams.h.

◆ SPI_TABLE3_MAX

#define SPI_TABLE3_MAX   8215

Definition at line 11 of file sysparams.h.

◆ SPI_TABLE3_MIN

#define SPI_TABLE3_MIN   8192

Definition at line 10 of file sysparams.h.

◆ SPIF_PROTECT

#define SPIF_PROTECT   0x80000

Definition at line 13 of file sysparams.h.

◆ SPITESTPREF

#define SPITESTPREF (   x)    (gspv.dwUserPrefMask & x ? 1 : 0)

Definition at line 195 of file sysparams.h.

Typedef Documentation

◆ PSPIVALUES

◆ SPIBUFFER

typedef union _SPIBUFFER SPIBUFFER

◆ SPIVALUES

◆ USERPREFMASKS

Enumeration Type Documentation

◆ _USERPREFMASKS

Enumerator
UPM_ACTIVEWINDOWTRACKING 
UPM_MENUANIMATION 
UPM_COMBOBOXANIMATION 
UPM_LISTBOXSMOOTHSCROLLING 
UPM_GRADIENTCAPTIONS 
UPM_KEYBOARDCUES 
UPM_ACTIVEWNDTRKZORDER 
UPM_HOTTRACKING 
UPM_RESERVED 
UPM_MENUFADE 
UPM_SELECTIONFADE 
UPM_TOOLTIPANIMATION 
UPM_TOOLTIPFADE 
UPM_CURSORSHADOW 
UPM_CLICKLOCK 
UPM_FLATMENU 
UPM_DROPSHADOW 
UPM_UIEFFECTS 
UPM_DEFAULT 

Definition at line 15 of file sysparams.h.

16{
18 UPM_MENUANIMATION = 0x02,
22 UPM_KEYBOARDCUES = 0x20,
24 UPM_HOTTRACKING = 0x80,
25 UPM_RESERVED = 0x100,
26 UPM_MENUFADE = 0x200,
27 UPM_SELECTIONFADE = 0x400,
29 UPM_TOOLTIPFADE = 0x1000,
30 UPM_CURSORSHADOW = 0x2000,
31 UPM_CLICKLOCK = 0x8000,
32 UPM_FLATMENU = 0x20000,
33 UPM_DROPSHADOW = 0x40000,
34 // room for more
35 UPM_UIEFFECTS = 0x80000000,
36 UPM_DEFAULT = 0x80003E9E
enum _USERPREFMASKS USERPREFMASKS
@ UPM_MENUANIMATION
Definition: sysparams.h:18
@ UPM_TOOLTIPANIMATION
Definition: sysparams.h:28
@ UPM_COMBOBOXANIMATION
Definition: sysparams.h:19
@ UPM_CLICKLOCK
Definition: sysparams.h:31
@ UPM_DEFAULT
Definition: sysparams.h:36
@ UPM_TOOLTIPFADE
Definition: sysparams.h:29
@ UPM_RESERVED
Definition: sysparams.h:25
@ UPM_FLATMENU
Definition: sysparams.h:32
@ UPM_ACTIVEWINDOWTRACKING
Definition: sysparams.h:17
@ UPM_CURSORSHADOW
Definition: sysparams.h:30
@ UPM_DROPSHADOW
Definition: sysparams.h:33
@ UPM_GRADIENTCAPTIONS
Definition: sysparams.h:21
@ UPM_KEYBOARDCUES
Definition: sysparams.h:22
@ UPM_MENUFADE
Definition: sysparams.h:26
@ UPM_UIEFFECTS
Definition: sysparams.h:35
@ UPM_SELECTIONFADE
Definition: sysparams.h:27
@ UPM_HOTTRACKING
Definition: sysparams.h:24
@ UPM_LISTBOXSMOOTHSCROLLING
Definition: sysparams.h:20
@ UPM_ACTIVEWNDTRKZORDER
Definition: sysparams.h:23

◆ WALLPAPER_MODE

Enumerator
wmCenter 
wmTile 
wmStretch 
wmFit 
wmFill 

Definition at line 39 of file sysparams.h.

40{
41 wmCenter = 0,
42 wmTile,
44 wmFit,
45 wmFill
WALLPAPER_MODE
Definition: sysparams.h:40
@ wmCenter
Definition: sysparams.h:41
@ wmFill
Definition: sysparams.h:45
@ wmTile
Definition: sysparams.h:42
@ wmStretch
Definition: sysparams.h:43
@ wmFit
Definition: sysparams.h:44

Function Documentation

◆ InitSysParams()

BOOL InitSysParams ( )

Referenced by InitUserImpl(), and InitVideo().

Variable Documentation

◆ g_PaintDesktopVersion

BOOL g_PaintDesktopVersion
extern

Definition at line 19 of file sysparams.c.

Referenced by IntPaintDesktop(), and NtUserUpdatePerUserSystemParameters().

◆ gspv