SetSpeed


int SetSpeed(int Rate);

Sets the repeat rate of the keyboard. This function is intended to be used by Control Panel and by the initialization of Windows.

Rate

Repeat rate. The lowest 5 bits define the desired repeat rate. If Rate is -1, the return value is a value indicating speed-setting capability.

The export ordinal for this function is 7.

This function is used in conjunction with Control Panel for setting the keyboard repeat rate.

If the keyboard speed cannot be set from software, this function may be reduced to a stub which always returns -1. In that case, Control Panel will not display a menu selection for setting keyboard speed.