Class
WindowsHook

Definition

Namespace:Telerik.WinControls

Assembly:TelerikCommon.dll

Syntax:

cs-api-definition
public class WindowsHook

Inheritance: objectWindowsHook

Constructors

WindowsHook(HookType)

Declaration

cs-api-definition
public WindowsHook(WindowsHook.HookType hook)

Parameters

hook

WindowsHook.HookType

Properties

IsInstalled

Declaration

cs-api-definition
public bool IsInstalled { get; }

Property Value

bool

Methods

CoreHookProc(int, IntPtr, IntPtr)

Declaration

cs-api-definition
protected int CoreHookProc(int code, IntPtr wParam, IntPtr lParam)

Parameters

code

int

wParam

IntPtr

lParam

IntPtr

Returns

int

Install()

Declaration

cs-api-definition
public void Install()

OnHookInvoked(HookEventArgs)

Declaration

cs-api-definition
protected virtual bool OnHookInvoked(HookEventArgs e)

Parameters

e

HookEventArgs

Returns

bool

Uninstall()

Declaration

cs-api-definition
public void Uninstall()

Events

HookInvoked

Declaration

cs-api-definition
public event WindowsHook.HookEventHandler HookInvoked

Event Value

WindowsHook.HookEventHandler