#include "precomp.h"
Go to the source code of this file.
Defines | |
#define | DBGVERIFYEVENTHOOK(peh) |
#define | DBGVERIFYNOTIFY(pNotify) |
Functions | |
WINEVENTPROC | xxxGetEventProc (PEVENTHOOK pEventOrg) |
PNOTIFY | CreateNotify (PEVENTHOOK peh, DWORD event, PWND pwnd, LONG idObject, LONG idChild, PTHREADINFO ptiEvent, DWORD dwTime) |
PEVENTHOOK | xxxProcessNotifyWinEvent (PNOTIFY pNotify) |
VOID | xxxFlushDeferredWindowEvents () |
VOID | xxxWindowEvent (DWORD event, PWND pwnd, LONG idObject, LONG idChild, DWORD dwFlags) |
VOID | RemoveNotify (PNOTIFY *ppNotify) |
VOID | DestroyNotify (PNOTIFY pNotifyDestroy) |
VOID | FreeThreadsWinEvents (PTHREADINFO pti) |
PEVENTHOOK | _SetWinEventHook (DWORD eventMin, DWORD eventMax, HMODULE hmodWinEventProc, PUNICODE_STRING pstrLib, WINEVENTPROC pfnWinEventProc, HANDLE hEventProcess, DWORD idEventThread, DWORD dwFlags) |
BOOL | _UnhookWinEvent (PEVENTHOOK pEventUnhook) |
VOID | DestroyEventHook (PEVENTHOOK pEventDestroy) |
Variables | |
NOTIFY | notifyCache |
BOOL | fNotifyCacheInUse = FALSE |
|
Definition at line 33 of file kernel/winable.c. Referenced by _UnhookWinEvent(), DestroyEventHook(), RemoveNotify(), xxxProcessNotifyWinEvent(), and xxxWindowEvent(). |
|
Definition at line 34 of file kernel/winable.c. Referenced by DestroyNotify(), xxxProcessNotifyWinEvent(), and xxxWindowEvent(). |
|
Definition at line 674 of file kernel/winable.c. References AddHmodDependency(), dwFlags, tagEVENTHOOK::eventMax, tagEVENTHOOK::eventMin, FALSE, tagEVENTHOOK::fDestroyed, tagEVENTHOOK::fIgnoreOwnProcess, tagEVENTHOOK::fIgnoreOwnThread, tagEVENTHOOK::fSync, GetHmodTableIndex(), gpWinEventHooks, tagEVENTHOOK::hEventProcess, HMAllocObject(), tagEVENTHOOK::idEventThread, tagEVENTHOOK::ihmod, NULL, tagEVENTHOOK::offPfn, tagEVENTHOOK::pehNext, PtiCurrent, PtiFromThreadId(), SET_SRVIF, SRVIF_WINEVENTHOOKS, tagTHREADINFO::TIF_flags, TIF_GUITHREADINITIALIZED, TIF_INCLEANUP, TYPE_WINEVENTHOOK, and UINT. Referenced by NtUserSetWinEventHook().
|
|
Definition at line 827 of file kernel/winable.c. References DBGVERIFYEVENTHOOK, DestroyEventHook(), FALSE, GETPTI, HMIsMarkDestroy, PtiCurrent, and TRUE. Referenced by NtUserUnhookWinEvent().
|
|
Definition at line 425 of file kernel/winable.c. References tagNOTIFY::dwEventTime, tagNOTIFY::dwWEFlags, tagNOTIFY::event, fNotifyCacheInUse, tagEVENTHOOK::fSync, gpLastPendingNotify, gpPendingNotifies, HW, tagNOTIFY::hwnd, tagNOTIFY::idChild, tagNOTIFY::idObject, tagNOTIFY::idSenderThread, Lock, notifyCache, NULL, tagNOTIFY::pNotifyNext, tagNOTIFY::ptiReceiver, tagNOTIFY::spEventHook, TIDq, TRUE, and WEF_ASYNC. Referenced by xxxWindowEvent().
|
|
Definition at line 879 of file kernel/winable.c. References DBGVERIFYEVENTHOOK, tagEVENTHOOK::fDestroyed, gpWinEventHooks, HMFreeObject(), HMMarkObjectDestroy(), tagEVENTHOOK::ihmod, tagEVENTHOOK::pehNext, RemoveHmodDependency(), SET_OR_CLEAR_SRVIF, SRVIF_WINEVENTHOOKS, and TRUE. Referenced by _UnhookWinEvent(), and FreeThreadsWinEvents().
|
|
Definition at line 566 of file kernel/winable.c. References DBGVERIFYNOTIFY, gpPendingNotifies, NULL, tagNOTIFY::pNotifyNext, PtiCurrent, tagNOTIFY::ptiReceiver, and RemoveNotify(). Referenced by CleanEventMessage(), FreeThreadsWinEvents(), and xxxProcessNotifyWinEvent().
|
|
Definition at line 615 of file kernel/winable.c. References DestroyEventHook(), DestroyNotify(), DWORD, tagNOTIFY::dwWEFlags, GETPTI, gpPendingNotifies, gpWinEventHooks, tagNOTIFY::idSenderThread, NULL, tagEVENTHOOK::pehNext, tagNOTIFY::pNotifyNext, tagNOTIFY::ptiReceiver, WEF_ASYNC, and WEF_POSTED. Referenced by xxxDestroyThreadInfo().
|
|
Definition at line 495 of file kernel/winable.c. References DBGVERIFYEVENTHOOK, tagNOTIFY::dwWEFlags, FALSE, fNotifyCacheInUse, gpLastPendingNotify, gpPendingNotifies, notifyCache, NULL, tagNOTIFY::pNotifyNext, tagNOTIFY::spEventHook, Unlock, and WEF_DEFERNOTIFY. Referenced by DestroyNotify().
|
|
Definition at line 217 of file kernel/winable.c. References DWORD, tagNOTIFY::dwWEFlags, gpPendingNotifies, tagNOTIFY::idSenderThread, IsWinEventNotifyDeferredOK, tagNOTIFY::pNotifyNext, WEF_ASYNC, WEF_DEFERNOTIFY, and xxxProcessNotifyWinEvent(). Referenced by xxxWindowEvent().
|
|
Definition at line 936 of file kernel/winable.c. References CheckLock, FALSE, tagEVENTHOOK::fSync, HMIsMarkDestroy, tagEVENTHOOK::ihmod, NULL, tagEVENTHOOK::offPfn, PFNHOOK, PtiCurrent, TESTHMODLOADED, and xxxLoadHmodIndex(). Referenced by xxxProcessNotifyWinEvent().
|
|
Definition at line 68 of file kernel/winable.c. References BEGINATOMICCHECK, DBGVERIFYEVENTHOOK, DBGVERIFYNOTIFY, DestroyNotify(), tagNOTIFY::dwWEFlags, ENDATOMICCHECK, tagEVENTHOOK::fDestroyed, tagEVENTHOOK::fSync, GETPTI, gptiRit, tagEVENTHOOK::head, tagEVENTHOOK::ihmod, IsRestricted(), tagPROCESSINFO::luidSession, NULL, tagEVENTHOOK::offPfn, tagEVENTHOOK::pehNext, PostEventMessage(), tagTHREADINFO::ppi, PtiCurrent, tagNOTIFY::ptiReceiver, QEVENT_NOTIFYWINEVENT, RtlEqualLuid(), tagNOTIFY::spEventHook, ThreadLockAlways, ThreadUnlock, TIF_ALLOWOTHERACCOUNTHOOK, TIF_CSRSSTHREAD, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, TIF_SYSTEMTHREAD, TIF_WOW64, WEF_ASYNC, WEF_DEFERNOTIFY, WEF_POSTED, xxxClientCallWinEventProc(), and xxxGetEventProc(). Referenced by xxxFlushDeferredWindowEvents(), xxxProcessEventMessage(), and xxxWindowEvent().
|
|
Definition at line 274 of file kernel/winable.c. References CreateNotify(), DBGVERIFYEVENTHOOK, DBGVERIFYNOTIFY, dwFlags, DWORD, tagNOTIFY::dwWEFlags, tagEVENTHOOK::eventMax, tagEVENTHOOK::eventMin, tagEVENTHOOK::fDestroyed, tagEVENTHOOK::fIgnoreOwnProcess, tagEVENTHOOK::fIgnoreOwnThread, FWINABLE, GETPTI, gptiCurrent, gpWinEventHooks, tagEVENTHOOK::head, tagEVENTHOOK::hEventProcess, HMIsMarkDestroy, tagEVENTHOOK::idEventThread, NtGetTickCount(), NULL, tagEVENTHOOK::pehNext, tagTHREADINFO::ppi, _THROBJHEAD::pti, PtiCurrent, tagTHREADINFO::rpdesk, TestWF, ThreadLockPti, ThreadLockWithPti, ThreadUnlock, ThreadUnlockPti, TIDq, TIF_DISABLEHOOKS, tagTHREADINFO::TIF_flags, TIF_INCLEANUP, WEF_ASYNC, WEF_DEFERNOTIFY, WEF_USEPWNDTHREAD, WFDESTROYED, xxxFlushDeferredWindowEvents(), and xxxProcessNotifyWinEvent(). Referenced by NtUserNotifyWinEvent(), UpdateLayeredSprite(), xxxActivateThisWindow(), xxxCalcClientRect(), xxxCancelCoolSwitch(), xxxCreateCaret(), xxxCreateWindowEx(), xxxDefWindowProc(), xxxDestroyThreadInfo(), xxxDestroyWindow(), xxxDragObject(), xxxEnableSBCtlArrows(), xxxEnableWindow(), xxxEnableWndSBArrows(), xxxEndScroll(), xxxHelpLoop(), xxxMinMaximize(), xxxMNCancel(), xxxMNCloseHierarchy(), xxxMNOpenHierarchy(), xxxMNSelectItem(), xxxMNStartMenu(), xxxMNSwitchToAlternateMenu(), xxxMoveSize(), xxxMoveSwitchWndHilite(), xxxMS_TrackMove(), xxxSBTrackLoop(), xxxSBWndProc(), xxxScanSysQueue(), xxxSendChangedMsgs(), xxxSendFocusMessages(), xxxSendMenuSelect(), xxxSetConsoleCaretInfo(), xxxSetParent(), xxxSetScrollBar(), xxxShowSwitchWindow(), xxxTrackCaptionButton(), and xxxTrackPopupMenuEx().
|
|
Definition at line 42 of file kernel/winable.c. Referenced by CreateNotify(), and RemoveNotify(). |
|
Definition at line 41 of file kernel/winable.c. Referenced by CreateNotify(), and RemoveNotify(). |