Enabling a Built-in Accessibility Feature
The following code fragment uses the SystemParametersInfo function to enable the FilterKeys feature:
FILTERKEYS fk;
BOOL bSuccess;
// Fill in the members of the FILTERKEYS structure.
fk.cbSize = sizeof(FILTERKEYS);
fk.dwFlags = (FKF_FILTERKEYSON | FKF_HOTKEYACTIVE |
FKF_AVAILABLE | FKF_HOTKEYSOUND |
FKF_CLICKON);
fk.iWaitMSec = 1000;
fk.iDelayMSec = 1000;
fk.iRepeatMSec = 500;
fk.iBounceMSec = 0;
// Call SystemParametersInfo with the SPI_SETFILTERKEYS flag.
bSuccess = SystemParametersInfo(SPI_SETFILTERKEYS, 0, (LPVOID)
&fk, 0);
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for