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 "ntuser.h". https://source.winehq.org/source/include/ntuser.h

Implemented in "dlls/user32/hook.c". https://source.winehq.org/source/dlls/user32/hook.c

Debug channel "hook".


Copyright © 2022 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Sep 2022.