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). Should not be used.

Constructors

DispatchProc(object, nint)

public DispatchProc(object @object, nint method)

Parameters

object object
method nint
See Also

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
See Also

EndInvoke(ref UioHookEvent, IAsyncResult)

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

Parameters

e UioHookEvent
result IAsyncResult
See Also

Invoke(ref UioHookEvent, nint)

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

Parameters

e UioHookEvent
userData nint
See Also

See Also