Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "BlockInput" in user32

.
Summary
.

static extern bool BlockInput(bool fBlockIt);

.

Declare Fuhhhhhon BlockInput Lib "user32" (ByVal fBlockIt As Boolean) As Boolean

.

    ''' <summary>The BlockInput function blocks keyboard and mouse input events from reaching applications

.

    <DllImport("user32.dll", EntryPoint:="BlockInput", SetLastError:=True, CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.StdCall)>

.

    Friend Shared Function BlockInput(fBlockIt As Boolean) As Integer

.

Class BlockInput

.

    <DllImport("user32.dll", EntryPoint:="BlockInput", SetLastError:=True, CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.StdCall)>

.

    Friend Shared Function BlockInput(fBlockIt As Boolean) As Boolean

.

      Return BlockInput(makeDisabled)

.
Documentation
[BlockInput] on MSDN

 
Access PInvoke.net directly from VS: