User32IsWinEventHookInstalled Method
Determines whether there is an installed WinEvent hook that might be notified of a specified event.
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", ExactSpelling = true)]
public static bool IsWinEventHookInstalled(
uint winEvent
)
<DllImportAttribute("User32.dll", ExactSpelling := true>]
Public Shared Function IsWinEventHookInstalled (
winEvent As UInteger
) As Boolean
Dim winEvent As UInteger
Dim returnValue As Boolean
returnValue = User32.IsWinEventHookInstalled(winEvent)
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true)]
static bool IsWinEventHookInstalled(
unsigned int winEvent
)
[<DllImportAttribute("User32.dll", ExactSpelling = true)>]
static member IsWinEventHookInstalled :
winEvent : uint32 -> bool
No code example is currently available or this language may not be supported.
- winEvent UInt32
-
The event constant that hooks might be notified of. The function checks whether there is an installed hook for this event constant.
Boolean
If there is a hook to be notified of the specified event, the return value is
.
If there are no hooks to be notified of the specified event, the return value is
.