callnexthookex (user32)
Last changed: -65.216.74.168

.
Summary

C# Signature:

[DllImport("user32.dll")]
static extern IntPtr CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam,
   IntPtr lParam);

VB Signature:

<DllImport("User32.dll", CharSet:=CharSet.Auto, CallingConvention:=CallingConvention.StdCall)> _
Shared Function CallNextHookEx _
      (ByVal hhk As Integer, ByVal nCode As Integer, _
       ByVal wParam As IntPtr, ByVal lParam As IntPtr) As Integer
End Function

User-Defined Types:

None.

Notes:

hhk is ignored, so you can use IntPtr.Zero

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation

CallNextHookEx on MSDN: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/hooks/hookreference/hookfunctions/callnexthookex.asp