SetWinEventHook(3w)

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

Defined in "winuser.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/user32/hook.c".

Debug channel "hook".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout