NAME

SetWinEventHook  (USER32.@)

SYNOPSIS

 HWINEVENTHOOK SetWinEventHook
 (
  DWORD        event_min,
  DWORD        event_max,
  HMODULE      inst,
  WINEVENTPROC proc,
  DWORD        pid,
  DWORD        tid,
  DWORD        flags
 )

DESCRIPTION

Set up an event hook for a set of events.

PARAMS

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.

RETURNS

Success: A handle representing the hook.

Failure: A NULL handle.

IMPLEMENTATION

Declared in "include/winuser.h". gitlab.winehq.org/wine/wine/blob/master/include/winuser.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 Dec 2024.