SetWindowsHookExA method
Pointer<HHOOK__>
SetWindowsHookExA(
- int idHook,
- Pointer<
NativeFunction< lpfn,HOOKPROC> > - Pointer<
HINSTANCE__> hmod, - int dwThreadId,
Implementation
ffi.Pointer<HHOOK__> SetWindowsHookExA(
int idHook,
ffi.Pointer<ffi.NativeFunction<HOOKPROC>> lpfn,
ffi.Pointer<HINSTANCE__> hmod,
int dwThreadId,
) {
return (_SetWindowsHookExA ??=
_dylib.lookupFunction<_c_SetWindowsHookExA, _dart_SetWindowsHookExA>(
'SetWindowsHookExA'))(
idHook,
lpfn,
hmod,
dwThreadId,
);
}