User32GetInputState Method
Determines whether there are mouse-button or keyboard messages in the calling thread's message queue.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll")]
public static bool GetInputState()
<DllImportAttribute("User32.dll">]
Public Shared Function GetInputState As Boolean
Dim returnValue As Boolean
returnValue = User32.GetInputState()
public:
[DllImportAttribute(L"User32.dll")]
static bool GetInputState()
[<DllImportAttribute("User32.dll")>]
static member GetInputState : unit -> bool
No code example is currently available or this language may not be supported.
Return Value
Boolean
If the queue contains one or more new mouse-button or keyboard messages, the return value is
.
If there are no new mouse-button or keyboard messages in the queue, the return value is
.