User32IsWinEventHookInstalled Method

Determines whether there is an installed WinEvent hook that might be notified of a specified event.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: 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
)

Parameters

winEvent  UInt32
The event constant that hooks might be notified of. The function checks whether there is an installed hook for this event constant.

Return Value

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 .

Remarks

See Also