A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



GetInputState

The GetInputState function determines whether there are mouse-button or keyboard messages in the calling thread's message queue.

VB4-32,5,6
Declare Function GetInputState Lib "user32" () As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
User32

Return Values
If the queue contains one or more new mouse-button or keyboard messages, the return value is nonzero.

If the there are no new mouse-button or keyboard messages in the queue, the return value is zero.

Last update: 07 April 2006