Testing Accessibility Flags

Windows 95 provides four new flags that advise applications when they should adjust their behavior to accommodate users with disabilities. Although each can be tested using the SystemParametersInfo function, this capability is not supported in earlier versions of Windows or Windows NT. To make this behavior available in earlier operating systems, you can test for the flags as WIN.INI settings. These settings are not used by Windows itself, but they can be set manually by users who want the specified disability options. The following WIN.INI settings are recommended.

SystemParametersInfo

WIN.INI setting in earlier operating systems

SPI_SHOWSOUNDS

[Windows] ShowSounds=TRUE

SPI_KEYBOARDPREF

[Windows] KeyboardPref=TRUE

SPI_SCREENREADER

[Windows] ScreenReader=TRUE

SPI_HIGHCONTRAST

[Windows] HighContrast=TRUE