ReactOS 0.4.16-dev-338-g34e76ad
|
#include <win32k.h>
Go to the source code of this file.
Macros | |
#define | dpi 96 |
#define | REG2METRIC(reg) (reg > 0 ? reg : ((-(reg) * dpi + 720) / 1440)) |
#define | METRIC2REG(met) (-((((met) * 1440)- 0) / dpi)) |
#define | REQ_INTERACTIVE_WINSTA(err) |
Variables | |
SPIVALUES | gspv |
BOOL | gbSpiInitialized = FALSE |
BOOL | g_PaintDesktopVersion = FALSE |
BOOL | g_bWindowSnapEnabled = TRUE |
static const WCHAR * | KEY_MOUSE = L"Control Panel\\Mouse" |
static const WCHAR * | VAL_MOUSE1 = L"MouseThreshold1" |
static const WCHAR * | VAL_MOUSE2 = L"MouseThreshold2" |
static const WCHAR * | VAL_MOUSE3 = L"MouseSpeed" |
static const WCHAR * | VAL_MOUSETRAILS = L"MouseTrails" |
static const WCHAR * | VAL_DBLCLKWIDTH = L"DoubleClickWidth" |
static const WCHAR * | VAL_DBLCLKHEIGHT = L"DoubleClickHeight" |
static const WCHAR * | VAL_DBLCLKTIME = L"DoubleClickSpeed" |
static const WCHAR * | VAL_SNAPDEFBTN = L"SnapToDefaultButton" |
static const WCHAR * | VAL_SWAP = L"SwapMouseButtons" |
static const WCHAR * | VAL_HOVERTIME = L"MouseHoverTime" |
static const WCHAR * | VAL_HOVERWIDTH = L"MouseHoverWidth" |
static const WCHAR * | VAL_HOVERHEIGHT = L"MouseHoverHeight" |
static const WCHAR * | VAL_SENSITIVITY = L"MouseSensitivity" |
static const WCHAR * | KEY_DESKTOP = L"Control Panel\\Desktop" |
static const WCHAR * | VAL_SCRTO = L"ScreenSaveTimeOut" |
static const WCHAR * | VAL_SCRNSV = L"SCRNSAVE.EXE" |
static const WCHAR * | VAL_SCRACT = L"ScreenSaveActive" |
static const WCHAR * | VAL_GRID = L"GridGranularity" |
static const WCHAR * | VAL_DRAG = L"DragFullWindows" |
static const WCHAR * | VAL_DRAGHEIGHT = L"DragHeight" |
static const WCHAR * | VAL_DRAGWIDTH = L"DragWidth" |
static const WCHAR * | VAL_FONTSMOOTHING = L"FontSmoothing" |
static const WCHAR * | VAL_FONTSMOOTHINGTYPE = L"FontSmoothingType" |
static const WCHAR * | VAL_FONTSMOOTHINGCONTRAST = L"FontSmoothingGamma" |
static const WCHAR * | VAL_FONTSMOOTHINGORIENTATION = L"FontSmoothingOrientation" |
static const WCHAR * | VAL_SCRLLLINES = L"WheelScrollLines" |
static const WCHAR * | VAL_CLICKLOCKTIME = L"ClickLockTime" |
static const WCHAR * | VAL_PAINTDESKVER = L"PaintDesktopVersion" |
static const WCHAR * | VAL_CARETRATE = L"CursorBlinkRate" |
static const WCHAR * | VAL_CARETWIDTH = L"CaretWidth" |
static const WCHAR * | VAL_USERPREFMASK = L"UserPreferencesMask" |
static const WCHAR * | KEY_MDALIGN = L"Software\\Microsoft\\Windows NT\\CurrentVersion\\Windows" |
static const WCHAR * | VAL_MDALIGN = L"MenuDropAlignment" |
static const WCHAR * | KEY_METRIC = L"Control Panel\\Desktop\\WindowMetrics" |
static const WCHAR * | VAL_BORDER = L"BorderWidth" |
static const WCHAR * | VAL_ICONSPC = L"IconSpacing" |
static const WCHAR * | VAL_ICONVSPC = L"IconVerticalspacing" |
static const WCHAR * | VAL_ITWRAP = L"IconTitleWrap" |
static const WCHAR * | KEY_SOUND = L"Control Panel\\Sound" |
static const WCHAR * | VAL_BEEP = L"Beep" |
static const WCHAR * | KEY_KBD = L"Control Panel\\Keyboard" |
static const WCHAR * | VAL_KBDSPD = L"KeyboardSpeed" |
static const WCHAR * | VAL_KBDDELAY = L"KeyboardDelay" |
static const WCHAR * | KEY_SHOWSNDS = L"Control Panel\\Accessibility\\ShowSounds" |
static const WCHAR * | KEY_KDBPREF = L"Control Panel\\Accessibility\\Keyboard Preference" |
static const WCHAR * | KEY_SCRREAD = L"Control Panel\\Accessibility\\Blind Access" |
static const WCHAR * | VAL_ON = L"On" |
#define dpi 96 |
Definition at line 23 of file sysparams.c.
Definition at line 26 of file sysparams.c.
Definition at line 25 of file sysparams.c.
Definition at line 28 of file sysparams.c.
DBG_DEFAULT_CHANNEL | ( | UserSysparams | ) |
Definition at line 365 of file sysparams.c.
Definition at line 218 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
BOOL APIENTRY NtUserSystemParametersInfo | ( | UINT | uiAction, |
UINT | uiParam, | ||
PVOID | pvParam, | ||
UINT | fWinIni | ||
) |
Definition at line 2168 of file sysparams.c.
Referenced by DrawFocusRect(), RealSystemParametersInfoA(), RealSystemParametersInfoW(), SetDoubleClickTime(), START_TEST(), Test_NtUserSystemParametersInfo_fWinIni(), Test_NtUserSystemParametersInfo_Params(), Test_SPI_SETACCESSTIMEOUT(), Test_SPI_SETBEEP(), Test_SPI_SETBORDER(), Test_SPI_SETDESKWALLPAPER(), Test_SPI_SETFASTTASKSWITCH(), Test_SPI_SETICONMETRICS(), Test_SPI_SETICONTITLELOGFONT(), Test_SPI_SETMENUANIMATION(), Test_SPI_SETMINIMIZEDMETRICS(), Test_SPI_SETMOUSE(), Test_SPI_SETMOUSEBUTTONSWAP(), Test_SPI_SETNONCLIENTMETRICS(), Test_SPI_SETSTICKYKEYS(), Test_SPI_SETWORKAREA(), and Test_UserPref().
Definition at line 375 of file sysparams.c.
Referenced by START_TEST(), UpdatePerUserSystemParameters(), and UserInitialize().
Definition at line 195 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters(), and UserSystemParametersInfo().
Definition at line 492 of file sysparams.c.
Referenced by SpiGetEx(), SpiGetInt(), and SpiGetSet().
Definition at line 508 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 522 of file sysparams.c.
Referenced by SpiGetSet(), and SpiGetUserPref().
Definition at line 817 of file sysparams.c.
Referenced by UserSystemParametersInfo().
Definition at line 1834 of file sysparams.c.
Referenced by UserSystemParametersInfo().
Loading the settings
Definition at line 108 of file sysparams.c.
Referenced by NtUserUpdatePerUserSystemParameters(), and SpiUpdatePerUserSystemParameters().
Definition at line 180 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
Definition at line 120 of file sysparams.c.
Referenced by SpiLoadMetric(), SpiLoadMouse(), SpiLoadTimeOut(), SpiSetWallpaper(), and SpiUpdatePerUserSystemParameters().
Definition at line 168 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
Definition at line 161 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
Definition at line 147 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
Definition at line 135 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
Get/Set value
Definition at line 460 of file sysparams.c.
Referenced by SpiGet(), SpiSet(), and SpiSetWallpaper().
Definition at line 781 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 500 of file sysparams.c.
Referenced by SpiGetEx(), and SpiGetSet().
|
inlinestatic |
Definition at line 542 of file sysparams.c.
Referenced by SpiGetSet().
|
inlinestatic |
Definition at line 555 of file sysparams.c.
Referenced by SpiGetSet().
|
inlinestatic |
Definition at line 568 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 581 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 594 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 642 of file sysparams.c.
Referenced by SpiGetSet().
|
inlinestatic |
Storing the settings
Definition at line 402 of file sysparams.c.
Referenced by SpiSetDWord().
Definition at line 445 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 438 of file sysparams.c.
Referenced by SpiGetSet(), and SpiSetMetric().
Definition at line 413 of file sysparams.c.
Referenced by SpiSetWallpaper(), and SpiSetYesNo().
Definition at line 424 of file sysparams.c.
Referenced by SpiGetSet(), SpiSetBool(), SpiSetInt(), and SpiStoreMetric().
Definition at line 232 of file sysparams.c.
Referenced by InitSysParams(), and NtUserUpdatePerUserSystemParameters().
Definition at line 2105 of file sysparams.c.
Referenced by co_IntCalculateSnapPosition(), DefWndDoSizeMove(), GetSnapActivationPoint(), IntDrawMenuBarTemp(), IntPaintDesktop(), MENU_DrawBitmapItem(), MENU_DrawMenuItem(), MenuInit(), NC_DoNCPaint(), NC_HandleNCLButtonDblClk(), NtUserSystemParametersInfo(), UserDrawCaptionBar(), and UserDrawCaptionText().
Definition at line 20 of file sysparams.c.
Referenced by DefWndDoSizeMove(), IntDefWindowProc(), and SpiUpdatePerUserSystemParameters().
Definition at line 19 of file sysparams.c.
Referenced by IntPaintDesktop(), and NtUserUpdatePerUserSystemParameters().
Definition at line 18 of file sysparams.c.
Referenced by InitSysParams(), SpiUpdatePerUserSystemParameters(), and UserSystemParametersInfo().
SPIVALUES gspv |
Definition at line 17 of file sysparams.c.
Referenced by co_IntProcessMouseMessage(), DefWndHandleSetCursor(), DoTheScreenSaver(), InitMetrics(), IntFixMouseInputButtons(), IntGetFontRenderMode(), IntPaintDesktop(), IntTrackMouseEvent(), IntTrackMouseMove(), MsqGetDownKeyState(), NtUserCallOneParam(), NtUserGetDoubleClickTime(), SpiFixupValues(), SpiGetSet(), SpiGetSetProbeBuffer(), SpiGetUserPref(), SpiSetUserPref(), SpiSetWallpaper(), and SpiUpdatePerUserSystemParameters().
Definition at line 61 of file sysparams.c.
Referenced by NtUserUpdatePerUserSystemParameters(), SpiGetSet(), SpiLoadTimeOut(), SpiLoadUserPrefMask(), SpiSetUserPref(), SpiSetWallpaper(), and SpiUpdatePerUserSystemParameters().
Definition at line 95 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
|
static |
Definition at line 100 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 83 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 86 of file sysparams.c.
Referenced by SpiGetSet(), SpiLoadFont(), SpiLoadMetric(), SpiSetMetric(), SpiStoreFont(), SpiStoreMetric(), and SpiUpdatePerUserSystemParameters().
Definition at line 46 of file sysparams.c.
Referenced by SpiGetSet(), and SpiLoadMouse().
Definition at line 101 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 99 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 92 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 93 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 87 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 76 of file sysparams.c.
Referenced by SpiUpdatePerUserSystemParameters().
Definition at line 77 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 74 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 52 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 53 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 51 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 66 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 67 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 68 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 69 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 71 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 72 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 70 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 65 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 58 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 56 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 57 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 88 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 89 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 90 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 97 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 96 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 84 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 47 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 48 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 49 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 50 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 102 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 75 of file sysparams.c.
Referenced by NtUserUpdatePerUserSystemParameters().
Definition at line 64 of file sysparams.c.
Referenced by SpiGetSet().
Definition at line 73 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 63 of file sysparams.c.
Referenced by SpiLoadTimeOut().
Definition at line 62 of file sysparams.c.
Referenced by SpiGetSet(), and SpiLoadTimeOut().
Definition at line 59 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 54 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 55 of file sysparams.c.
Referenced by SpiGetSet(), and SpiUpdatePerUserSystemParameters().
Definition at line 81 of file sysparams.c.
Referenced by SpiLoadUserPrefMask(), and SpiSetUserPref().