SetWinEventHook method
Pointer<HWINEVENTHOOK__>
SetWinEventHook(
- int eventMin,
- int eventMax,
- Pointer<
HINSTANCE__> hmodWinEventProc, - Pointer<
NativeFunction< pfnWinEventProc,WINEVENTPROC> > - int idProcess,
- int idThread,
- int dwFlags,
Implementation
ffi.Pointer<HWINEVENTHOOK__> SetWinEventHook(
int eventMin,
int eventMax,
ffi.Pointer<HINSTANCE__> hmodWinEventProc,
ffi.Pointer<ffi.NativeFunction<WINEVENTPROC>> pfnWinEventProc,
int idProcess,
int idThread,
int dwFlags,
) {
return (_SetWinEventHook ??=
_dylib.lookupFunction<_c_SetWinEventHook, _dart_SetWinEventHook>(
'SetWinEventHook'))(
eventMin,
eventMax,
hmodWinEventProc,
pfnWinEventProc,
idProcess,
idThread,
dwFlags,
);
}