SetWinEventHook (USER32.@)
HWINEVENTHOOK SetWinEventHook ( DWORD event_min, DWORD event_max, HMODULE inst, WINEVENTPROC proc, DWORD pid, DWORD tid, DWORD flags )
Set up an event hook for a set of events.
event_min | [In] | Lowest event handled by pfnProc. |
event_max | [In] | Highest event handled by pfnProc. |
inst | [In] | dll containing pfnProc. |
proc | [In] | Callback event hook function. |
pid | [In] | Process to get events from, or 0 for all processes. |
tid | [In] | Thread to get events from, or 0 for all threads. |
flags | [In] | Flags indicating the status of pfnProc. |
Success: A handle representing the hook.
Failure: A NULL handle.
Declared in "include/ntuser.h". gitlab.winehq.org/wine/wine/blob/master/include/ntuser.h
Implemented in "dlls/user32/hook.c". gitlab.winehq.org/wine/wine/blob/master/dlls/user32/hook.c
Debug channel "hook".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.