1 out of 1 rated this helpful - Rate this topic

GetInputState function

Applies to: desktop apps only

Determines whether there are mouse-button or keyboard messages in the calling thread's message queue.

Syntax

BOOL WINAPI GetInputState(void);

Parameters

This function has no parameters.

Return value

Type:

Type: BOOL

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.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Reference
GetQueueStatus
Conceptual
Messages and Message Queues

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ