DelegatesHookProc Delegate

A DelegatesHookProc delegate representing a hook procedure method.

( for parameter hookProc of SetWindowsHookEx(HookType, DelegatesHookProc, IntPtr, UInt32) function. )

Definition

Namespace: DevCase.Win32.Delegates
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public delegate IntPtr HookProc(
	int nCode,
	IntPtr wParam,
	IntPtr lParam
)

Parameters

nCode  Int32
The hook code of the current DelegatesHookProc procedure.

So the next call to DelegatesHookProc procedure uses this code to determine how to process the hook information.

wParam  IntPtr
The wParam value passed to the current DelegatesHookProc procedure.

The meaning of this parameter depends on the type of hook associated with the current hook chain.

lParam  IntPtr
The lParam value passed to the current DelegatesHookProc procedure.

The meaning of this parameter depends on the type of hook associated with the current hook chain.

Return Value

IntPtr
The meaning of the return value depends on the hook type.

For more information, see the descriptions of the individual hook procedures.

Remarks

See Also