GetInputState Function

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 Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systems Windows 95, Windows NT 3.1

See Also

Tags :


Page view tracker