UnhookWindowsHook method

int UnhookWindowsHook(
  1. int nCode,
  2. Pointer<NativeFunction<HOOKPROC>> pfnFilterProc
)

Implementation

int UnhookWindowsHook(
  int nCode,
  ffi.Pointer<ffi.NativeFunction<HOOKPROC>> pfnFilterProc,
) {
  return (_UnhookWindowsHook ??=
      _dylib.lookupFunction<_c_UnhookWindowsHook, _dart_UnhookWindowsHook>(
          'UnhookWindowsHook'))(
    nCode,
    pfnFilterProc,
  );
}