User32CallNextHookEx(IntPtr, Int32, IntPtr, KeyboardLowLevelHookStruct) Method
Passes the hook information to the next hook procedure in the current hook chain.
A hook procedure can call this function either before or after processing the hook information.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll")]
public static IntPtr CallNextHookEx(
IntPtr hhk,
int nCode,
IntPtr wParam,
in KeyboardLowLevelHookStruct refLParam
)
<DllImportAttribute("User32.dll">]
Public Shared Function CallNextHookEx (
hhk As IntPtr,
nCode As Integer,
wParam As IntPtr,
ByRef refLParam As KeyboardLowLevelHookStruct
) As IntPtr
Dim hhk As IntPtr
Dim nCode As Integer
Dim wParam As IntPtr
Dim refLParam As KeyboardLowLevelHookStruct
Dim returnValue As IntPtr
returnValue = User32.CallNextHookEx(hhk,
nCode, wParam, refLParam)
public:
[DllImportAttribute(L"User32.dll")]
static IntPtr CallNextHookEx(
IntPtr hhk,
int nCode,
IntPtr wParam,
[InAttribute] KeyboardLowLevelHookStruct% refLParam
)
[<DllImportAttribute("User32.dll")>]
static member CallNextHookEx :
hhk : IntPtr *
nCode : int *
wParam : IntPtr *
refLParam : KeyboardLowLevelHookStruct byref -> IntPtr
No code example is currently available or this language may not be supported.
- hhk IntPtr
-
This parameter is ignored.
- nCode Int32
-
The hook code passed to the current hook procedure.
The next hook procedure uses this code to determine how to process the hook information.
- wParam IntPtr
-
The wParam value passed to the current hook procedure.
The meaning of this parameter depends on the type of hook associated with the current hook chain.
- refLParam KeyboardLowLevelHookStruct
-
The lParam value passed to the current hook procedure.
The meaning of this parameter depends on the type of hook associated with the current hook chain.
IntPtr
This value is returned by the next hook procedure in the chain.
The current hook procedure must also return this value.
The meaning of the return value depends on the hook type.
For more information, see the descriptions of the individual hook procedures.