SystemParametersInfo ,

Fk  ; 
BOOL bSuccess; 
 
/ /    Բֲ . 
 
FK.cbSize = sizeof(FILTERKEYS); 
FK.dwFlags = (FKF_FILTERKEYSON | FKF_HOTKEY&ACTIVE | 
                       FKF_AVAILABLE | FKF_HOTKEYSOUND | FKF_CLICKON); 
FK.iWaitMSec = 1000; 
FK.iDelayMSec = 1000; 
FK.iRepeatMSec = 500; 
FK.iBounceMSec = 0; 
 
/ /  SystemParametersInfo  SPI_SETFILTERKEYS . 
 
bSuccess = SystemParametersInfo (SPI_SETFILTERKEYS, 0, (LPVOID) amp; fk, 0) 

 

Index