* Constant declarations #DEFINE SPI_GETKEYBOARDSPEED 10 #DEFINE SPI_SETKEYBOARDSPEED 11 * Get keyboard tick rate DECLARE INTEGER SystemParametersInfo IN Win32API; INTEGER uiAction, SHORT uiParam,; INTEGER @pvParam, INTEGER fWinIni lnspeed = 0 llsuccess = (SystemParametersInfo(SPI_GETKEYBOARDSPEED, 0, @lnspeed, 0) # 0) * Set the keyboard tick rate DECLARE INTEGER SystemParametersInfo IN Win32API; INTEGER uiAction, SHORT uiParam,; INTEGER pvParam, INTEGER fWinIni llsuccess = (SystemParametersInfo(SPI_SETKEYBOARDSPEED, lnspeed, 0, 0) # 0)Setting this requires that the speed be passed by value in the uiParam parameter. Getting the value requires that the pvParam be passed by reference.