Table of Contents

Delegate DispatchProc

Namespace
SharpHook.Native
Assembly
SharpHook.dll

Represents a function which is called when an event occurs.

public delegate void DispatchProc(ref UioHookEvent e, nint userData)

Parameters

e UioHookEvent

The event that has occured.

userData nint

The data that was passed to SetDispatchProc(DispatchProc?, nint). Usually should not be used.

Constructors

DispatchProc(object, nint)

public DispatchProc(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(ref UioHookEvent, nint, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(ref UioHookEvent e, nint userData, AsyncCallback callback, object @object)

Parameters

e UioHookEvent
userData nint
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(ref UioHookEvent, IAsyncResult)

public virtual void EndInvoke(ref UioHookEvent e, IAsyncResult result)

Parameters

e UioHookEvent
result IAsyncResult

Invoke(ref UioHookEvent, nint)

public virtual void Invoke(ref UioHookEvent e, nint userData)

Parameters

e UioHookEvent
userData nint

See Also