ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

sysparams.h
Go to the documentation of this file.
00001 #pragma once
00002 
00003 // Create one struct
00004 // Make usable for different users (multiple structs!)
00005 
00006 #define SPI_TABLE1_MIN 1
00007 #define SPI_TABLE1_MAX 119
00008 #define SPI_TABLE2_MIN 4096
00009 #define SPI_TABLE2_MAX 4171
00010 #define SPI_TABLE3_MIN 8192
00011 #define SPI_TABLE3_MAX 8215
00012 
00013 #define SPIF_PROTECT 0x80000
00014 
00015 typedef enum _USERPREFMASKS
00016 {
00017     UPM_ACTIVEWINDOWTRACKING = 0x01,
00018     UPM_MENUANIMATION = 0x02,
00019     UPM_COMBOBOXANIMATION = 0x04,
00020     UPM_LISTBOXSMOOTHSCROLLING = 0x08,
00021     UPM_GRADIENTCAPTIONS = 0x10,
00022     UPM_KEYBOARDCUES = 0x20,
00023     UPM_ACTIVEWNDTRKZORDER = 0x40,
00024     UPM_HOTTRACKING = 0x80,
00025     UPM_RESERVED = 0x100,
00026     UPM_MENUFADE = 0x200,
00027     UPM_SELECTIONFADE = 0x400,
00028     UPM_TOOLTIPANIMATION = 0x800,
00029     UPM_TOOLTIPFADE = 0x1000,
00030     UPM_CURSORSHADOW = 0x2000,
00031     UPM_CLICKLOCK = 0x8000,
00032     // room for more
00033     UPM_UIEFFECTS = 0x80000000,
00034     UPM_DEFAULT = 0x80003E9E
00035 } USERPREFMASKS;
00036 
00037 typedef enum
00038 {
00039     wmCenter = 0,
00040     wmTile,
00041     wmStretch
00042 } WALLPAPER_MODE;
00043 
00044 typedef struct _SPIVALUES
00045 {
00046     /* Metrics */
00047     NONCLIENTMETRICSW ncm;
00048     MINIMIZEDMETRICS mm;
00049     ICONMETRICSW im;
00050     UINT uiFocusBorderWidth;
00051     UINT uiFocusBorderHeight;
00052 
00053     /* Accessability */
00054     ACCESSTIMEOUT accesstimeout;
00055     HIGHCONTRAST highcontrast;
00056     BOOL bScreenReader;
00057 #if(WINVER >= 0x0600)
00058     AUDIODESCRIPTION audiodescription;
00059     BOOL bClientAreaAnimation;
00060     BOOL bDisableOverlappedContent;
00061     ULONG ulMsgDuration;
00062     BOOL bSpeechRecognition;
00063 #endif
00064 
00065     /* Sound */
00066     SOUNDSENTRY soundsentry;
00067     BOOL bShowSounds;
00068     BOOL bBeep;
00069 
00070     /* Mouse */
00071     CURSORACCELERATION_INFO caiMouse;
00072     MOUSEKEYS mousekeys;
00073     BOOL bMouseClickLock;
00074     BOOL bMouseCursorShadow;
00075     DWORD dwMouseClickLockTime;
00076     BOOL bMouseSonar;
00077     BOOL bMouseVanish;
00078     BOOL bMouseBtnSwap;
00079     BOOL bSmoothScrolling;
00080     INT iMouseSpeed;
00081     INT iMouseHoverWidth;
00082     INT iMouseHoverHeight;
00083     INT iMouseHoverTime;
00084     INT iDblClickWidth;
00085     INT iDblClickHeight;
00086     INT iDblClickTime;
00087     INT iDragWidth;
00088     INT iDragHeight;
00089     INT iMouseTrails;
00090     INT iWheelScrollLines;
00091 #if (_WIN32_WINNT >= 0x0600)
00092     UINT uiWheelScrollChars;
00093 #endif
00094 
00095     /* Keyboard */
00096     FILTERKEYS filterkeys;
00097     SERIALKEYS serialkeys;
00098     STICKYKEYS stickykeys;
00099     TOGGLEKEYS togglekeys;
00100     DWORD dwKbdSpeed;
00101     BOOL bKbdPref;
00102     HKL hklDefInputLang;
00103     INT iKbdDelay;
00104 
00105     /* Screen saver */
00106     INT iScrSaverTimeout;
00107     BOOL bScrSaverActive;
00108     BOOL bScrSaverRunning;
00109 #if(WINVER >= 0x0600)
00110     BOOL bScrSaverSecure;
00111 #endif
00112 
00113     /* Power */
00114     INT iLowPwrTimeout;
00115     INT iPwrOffTimeout;
00116     BOOL bLowPwrActive;
00117     BOOL bPwrOffActive;
00118 
00119     /* UI Effects */
00120     DWORD dwUserPrefMask;
00121     BOOL bFontSmoothing;
00122     UINT uiFontSmoothingType;
00123     UINT uiFontSmoothingContrast;
00124     UINT uiFontSmoothingOrientation;
00125     BOOL bDragFullWindows;
00126     BOOL bMenuDropAlign;
00127     BOOL bFlatMenu;
00128     DWORD dwMenuShowDelay;
00129     BOOL bDropShadow;
00130     BOOL bBlockSendInputResets;
00131 #if(_WIN32_WINNT >= 0x0600)
00132     BOOL bClearType;
00133 #endif
00134 
00135     /* Text metrics */
00136     TEXTMETRICW tmMenuFont;
00137     TEXTMETRICW tmCaptionFont;
00138 
00139     /* Wallpaper */
00140     HANDLE hbmWallpaper;
00141     ULONG cxWallpaper, cyWallpaper;
00142     WALLPAPER_MODE WallpaperMode;
00143     UNICODE_STRING ustrWallpaper;
00144     WCHAR awcWallpaper[MAX_PATH];
00145 
00146     BOOL bHandHeld;
00147     BOOL bFastTaskSwitch;
00148     UINT uiGridGranularity;
00149 
00150     ANIMATIONINFO animationinfo;
00151     BOOL bSnapToDefBtn;
00152     BOOL bShowImeUi;
00153     DWORD dwForegroundLockTimeout;
00154     DWORD dwActiveTrackingTimeout;
00155     DWORD dwForegroundFlashCount;
00156     DWORD dwCaretWidth;
00157 
00158 //    SPI_LANGDRIVER
00159 //    SPI_SETDESKPATTERN
00160 //    SPI_SETPENWINDOWS
00161 //    SPI_SETCURSORS
00162 //    SPI_SETICONS
00163 //    SPI_SETLANGTOGGLE
00164 //    SPI_GETWINDOWSEXTENSION
00165 
00166 } SPIVALUES, *PSPIVALUES;
00167 
00168 typedef union _SPIBUFFER
00169 {
00170     char ach[1];
00171     WCHAR awcWallpaper[MAX_PATH+1];
00172     FILTERKEYS fiterkeys;
00173     TOGGLEKEYS togglekeys;
00174     MOUSEKEYS mousekeys;
00175     STICKYKEYS stickykeys;
00176     ACCESSTIMEOUT accesstimeout;
00177     SERIALKEYS serialkeys;
00178     SOUNDSENTRY soundsentry;
00179     NONCLIENTMETRICSW ncmetrics;
00180     MINIMIZEDMETRICS mmmetrics;
00181     ICONMETRICS iconmetrics;
00182     HIGHCONTRAST highcontrast;
00183     ANIMATIONINFO animationinfo;
00184 #if(WINVER >= 0x0600)
00185     AUDIODESCRIPTION audiodescription;
00186 #endif
00187 } SPIBUFFER;
00188 
00189 extern SPIVALUES gspv;
00190 extern BOOL g_PaintDesktopVersion;
00191 
00192 BOOL InitSysParams();
00193 

Generated on Fri May 25 2012 04:36:53 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.