The GetInputState function determines whether there are mouse-button or keyboard messages in the calling thread's message queue.
Syntax
BOOL GetInputState(VOID);
Return Value
If the queue contains one or more new mouse-button or keyboard messages, the return value is nonzero.
If there are no new mouse-button or keyboard messages in the queue, the return value is zero.
Function Information
| Minimum DLL Version | user32.dll |
|---|
| Header | Declared in Winuser.h, include Windows.h |
|---|
| Import library | User32.lib |
|---|
| Minimum operating systems |
Windows 95, Windows NT 3.1 |
|---|
See Also