BOOL EnableHardwareInput(bEnableInput)
This function disables mouse and keyboard input. The input is saved if the bEnableInput parameter is TRUE and discarded if it is FALSE.
Parameter | Type/Description |
bEnableInput | BOOL Specifies that the function should save input if the bEnableInput parameter is set to a nonzero value; specifies that the function should discard input if the bEnableInput parameter is set to zero. |
The return value specifies whether mouse and keyboard input is disabled. It is nonzero if input was previously enabled. Otherwise, it is zero. The default return value is nonzero (TRUE).