mirror of
https://github.com/reactos/reactos.git
synced 2025-04-04 20:50:41 +00:00
Don't force SPI_SETKEYBOARDCUES because we are always admin
This commit is contained in:
parent
cea96c644a
commit
8e111c22bd
2 changed files with 5 additions and 0 deletions
|
@ -66,7 +66,9 @@ InitializeServerAdminUI()
|
|||
if (value)
|
||||
{
|
||||
// TODO: Apply registry tweaks with RegInstallW; RegServerAdmin in the REGINST resource in shell32.
|
||||
#if !ROSPOLICY_SHELL_NODEFKEYBOARDCUES
|
||||
SystemParametersInfo(SPI_SETKEYBOARDCUES, 0, IntToPtr(TRUE), SPIF_SENDCHANGE | SPIF_UPDATEINIFILE);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
RegCloseKey(hKey);
|
||||
|
|
|
@ -21,9 +21,12 @@
|
|||
|
||||
// Because ReactOS installs as Server by default, we ignore OS_SERVERADMINUI
|
||||
// in certain places to present a Client/Server hybrid UI.
|
||||
|
||||
// Windows defaults to FVM_DETAILS for Administrators on OS_ANYSERVER (instead of FVM_ICON).
|
||||
#define ROSPOLICY_SHELLFOLDER_DEFLARGEICONS ( ~0UL )
|
||||
|
||||
#define ROSPOLICY_SHELL_NODEFKEYBOARDCUES 1
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
|
Loading…
Reference in a new issue