Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windowing
Functions
 GetInputState Function

  Switch on low bandwidth view
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 What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker