GetInputState

2.x

  BOOL GetInputState(void)    

The GetInputState function determines whether there are mouse clicks or keyboard events in the system queue that require processing. Keyboard events occur when a user presses one or more keys. The system queue is the location in which Windows stores mouse clicks and keyboard events.

Parameters

This function has no parameters.

Return Value

The return value is nonzero if the function detects a mouse click or keyboard event in the system queue. Otherwise, it is zero.

See Also

EnableHardwareInput