ReactOS 0.4.16-dev-981-g80eb313
|
Go to the source code of this file.
Classes | |
struct | _USER_MESSAGE |
struct | _USER_SENT_MESSAGE |
struct | _USER_MESSAGE_QUEUE |
Typedefs | |
typedef struct _USER_MESSAGE | USER_MESSAGE |
typedef struct _USER_MESSAGE * | PUSER_MESSAGE |
typedef struct _USER_SENT_MESSAGE | USER_SENT_MESSAGE |
typedef struct _USER_SENT_MESSAGE * | PUSER_SENT_MESSAGE |
typedef struct _USER_MESSAGE_QUEUE | USER_MESSAGE_QUEUE |
typedef struct _USER_MESSAGE_QUEUE * | PUSER_MESSAGE_QUEUE |
Enumerations | |
enum | internal_event_message { WM_ASYNC_SHOWWINDOW = 0x80000000 , WM_ASYNC_SETWINDOWPOS , WM_ASYNC_SETACTIVEWINDOW , WM_ASYNC_DESTROYWINDOW } |
Variables | |
LIST_ENTRY | usmList |
#define IntDereferenceMessageQueue | ( | MsgQueue | ) |
Definition at line 220 of file msgqueue.h.
#define IntReferenceMessageQueue | ( | MsgQueue | ) | InterlockedIncrement(&(MsgQueue)->References) |
Definition at line 217 of file msgqueue.h.
Definition at line 229 of file msgqueue.h.
#define IS_KBD_MESSAGE | ( | message | ) | (message >= WM_KEYFIRST && message <= WM_KEYLAST) |
Definition at line 246 of file msgqueue.h.
Definition at line 242 of file msgqueue.h.
#define MSQ_HUNG 5000 |
Definition at line 3 of file msgqueue.h.
#define MSQ_INJECTMODULE 2 |
Definition at line 6 of file msgqueue.h.
#define MSQ_ISHOOK 1 |
Definition at line 5 of file msgqueue.h.
#define MSQ_NORMAL 0 |
Definition at line 4 of file msgqueue.h.
#define POSTEVENT_DAW 4 |
Definition at line 123 of file msgqueue.h.
#define POSTEVENT_NONE 0xFFFF |
Definition at line 126 of file msgqueue.h.
#define POSTEVENT_NWE 14 |
Definition at line 125 of file msgqueue.h.
#define POSTEVENT_SAW 5 |
Definition at line 124 of file msgqueue.h.
#define QF_ACTIVATIONCHANGE 0x00000040 |
Definition at line 100 of file msgqueue.h.
#define QF_ACTIVEWNDTRACKING 0x00200000 |
Definition at line 112 of file msgqueue.h.
#define QF_CAPTURELOCKED 0x00100000 |
Definition at line 111 of file msgqueue.h.
#define QF_DIALOGACTIVE 0x00004000 |
Definition at line 106 of file msgqueue.h.
#define QF_EVENTDEACTIVATEREMOVED 0x00008000 |
Definition at line 107 of file msgqueue.h.
#define QF_FF10STATUS 0x00000010 |
Definition at line 98 of file msgqueue.h.
#define QF_FMENUSTATUS 0x00000008 |
Definition at line 97 of file msgqueue.h.
#define QF_FMENUSTATUSBREAK 0x00000004 |
Definition at line 96 of file msgqueue.h.
#define QF_FOCUSNULLSINCEACTIVE 0x00000800 |
Definition at line 105 of file msgqueue.h.
#define QF_INDESTROY 0x00000200 |
Definition at line 103 of file msgqueue.h.
#define QF_KEYSTATERESET 0x00000100 |
Definition at line 102 of file msgqueue.h.
#define QF_LOCKNOREMOVE 0x00000400 |
Definition at line 104 of file msgqueue.h.
#define QF_MOUSEMOVED 0x00000020 |
Definition at line 99 of file msgqueue.h.
#define QF_TABSWITCHING 0x00000080 |
Definition at line 101 of file msgqueue.h.
#define QF_TRACKMOUSEFIRING 0x00080000 |
Definition at line 110 of file msgqueue.h.
#define QF_TRACKMOUSEHOVER 0x00040000 |
Definition at line 109 of file msgqueue.h.
#define QF_TRACKMOUSELEAVE 0x00020000 |
Definition at line 108 of file msgqueue.h.
#define QF_UPDATEKEYSTATE 0x00000001 |
Definition at line 95 of file msgqueue.h.
#define SMF_RECEIVEDMESSAGE 0x00000010 |
Definition at line 41 of file msgqueue.h.
#define SMF_RECEIVERBUSY 0x00004000 |
Definition at line 42 of file msgqueue.h.
#define SMF_RECEIVERDIED 0x00000002 |
Definition at line 38 of file msgqueue.h.
#define SMF_RECEIVERFREE 0x00000008 |
Definition at line 40 of file msgqueue.h.
#define SMF_SENDERDIED 0x00000004 |
Definition at line 39 of file msgqueue.h.
#define WM_NCMOUSEFIRST WM_NCMOUSEMOVE |
Definition at line 239 of file msgqueue.h.
#define WM_NCMOUSELAST (WM_NCMOUSEFIRST+(WM_MOUSELAST-WM_MOUSEFIRST)) |
Definition at line 240 of file msgqueue.h.
typedef struct _USER_MESSAGE * PUSER_MESSAGE |
typedef struct _USER_MESSAGE_QUEUE * PUSER_MESSAGE_QUEUE |
typedef struct _USER_SENT_MESSAGE * PUSER_SENT_MESSAGE |
typedef struct _USER_MESSAGE USER_MESSAGE |
Enumerator | |
---|---|
WM_ASYNC_SHOWWINDOW | |
WM_ASYNC_SETWINDOWPOS | |
WM_ASYNC_SETACTIVEWINDOW | |
WM_ASYNC_DESTROYWINDOW |
Definition at line 115 of file msgqueue.h.
PUSER_SENT_MESSAGE FASTCALL AllocateUserMessage | ( | BOOL | KEvent | ) |
Definition at line 763 of file msgqueue.c.
Referenced by co_IntSendMessageWithCallBack(), co_MsqSendMessage(), and co_MsqSendMessageAsync().
VOID FASTCALL ClearMsgBitsMask | ( | PTHREADINFO | pti, |
UINT | MessageBits | ||
) |
Definition at line 445 of file msgqueue.c.
Referenced by co_IntPeekMessage(), co_MsqDispatchOneSentMessage(), co_MsqPeekHardwareMessage(), co_MsqSendMessage(), FindRemoveEventMsg(), MsqDecPaintCountQueue(), MsqPeekMessage(), MsqRemoveWindowMessagesFromQueue(), and PostTimerMessages().
BOOL APIENTRY co_IntGetPeekMessage | ( | PMSG | pMsg, |
HWND | hWnd, | ||
UINT | MsgFilterMin, | ||
UINT | MsgFilterMax, | ||
UINT | RemoveMsg, | ||
BOOL | bGMSG | ||
) |
Definition at line 1226 of file message.c.
Referenced by DefWndDoSizeMove(), DefWndStartSizeMove(), DesktopThreadMain(), MENU_SuspendPopup(), MENU_TrackMenu(), NC_DoButton(), NC_HandleNCRButtonDown(), NtUserDragDetect(), NtUserGetMessage(), NtUserPeekMessage(), and NtUserWaitForInputIdle().
Definition at line 1495 of file message.c.
Referenced by co_IntDoSendMessage(), co_IntPaintWindows(), co_IntProcessKeyboardMessage(), co_IntProcessMouseMessage(), co_IntSendActivateMessages(), co_IntSendDeactivateMessages(), co_IntSetForegroundMessageQueue(), co_IntSetWindowLongPtr(), co_IntSnapWindow(), co_IntTranslateAccelerator(), co_IntUpdateWindows(), co_MsqDispatchOneSentMessage(), co_UserActivateKeyboardLayout(), co_UserCreateWindowEx(), co_UserFreeWindow(), co_UserSetCapture(), co_WinPosDoNCCALCSize(), co_WinPosDoWinPosChanging(), co_WinPosGetMinMaxInfo(), co_WinPosSearchChildren(), co_WinPosShowWindow(), DefWndDoSizeMove(), DefWndHandleSysCommand(), DefWndHandleWindowPosChanged(), DefWndPrint(), DefWndStartSizeMove(), ForceNCPaintErase(), GetControlColor(), IntActivateWindow(), IntBeginPaint(), IntCheckImeShowStatus(), IntClientShutdown(), IntDeactivateWindow(), IntDefWindowProc(), IntEnableWindow(), IntFlashWindowEx(), IntFocusSetInputContext(), IntImeWindowPosChanged(), IntImmActivateLayout(), IntScrollWindowEx(), IntSendDestroyMsg(), IntSendFocusMessages(), IntSendMessageToUI(), IntSendNCPaint(), IntSendOpenStatusNotify(), IntSendParentNotify(), IntShowOwnedPopups(), IntTrackPopupMenuEx(), MENU_CalcItemSize(), MENU_DoNextMenu(), MENU_DrawBitmapItem(), MENU_DrawMenuItem(), MENU_ExitTracking(), MENU_FindItemByKey(), MENU_GetBitmapItemSize(), MENU_HideSubPopups(), MENU_InitTracking(), MENU_SelectItem(), MENU_ShowSubPopup(), MENU_TrackMenu(), MsqSendParentNotify(), NC_DoButton(), NC_DoNCPaint(), NC_HandleNCLButtonDblClk(), NC_HandleNCLButtonDown(), NC_HandleNCRButtonDown(), NtUserChangeClipboardChain(), NtUserGetClipboardData(), NtUserGetComboBoxInfo(), NtUserGetListBoxInfo(), NtUserGetMenuBarInfo(), UserClipboardRelease(), UserEmptyClipboard(), and UserPaintCaption().
Definition at line 1763 of file message.c.
Referenced by co_WinPosGetNonClientSize(), co_WinPosMinMaximize(), co_WinPosSendSizeMove(), co_WinPosSetWindowPos(), co_WinPosShowWindow(), IntEndDeferWindowPosEx(), IntSendSyncPaint(), IntSetWindowPlacement(), NtUserSetClipboardViewer(), NtUserShowWindowAsync(), UserClipboardRelease(), UserCloseClipboard(), and UserSendNotifyMessage().
LRESULT FASTCALL co_IntSendMessageTimeout | ( | HWND | hWnd, |
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
UINT | uFlags, | ||
UINT | uTimeout, | ||
ULONG_PTR * | uResult | ||
) |
Definition at line 1707 of file message.c.
Referenced by co_IntDoSendMessage(), co_IntSendMessage(), NtUserMessageCall(), UserChangeDisplaySettings(), and UserSystemParametersInfo().
LRESULT FASTCALL co_IntSendMessageWithCallBack | ( | HWND | hWnd, |
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
SENDASYNCPROC | CompletionCallback, | ||
ULONG_PTR | CompletionCallbackContext, | ||
ULONG_PTR * | uResult | ||
) |
Definition at line 1785 of file message.c.
Referenced by co_IntSendMessageNoWait(), IntFocusSetInputContext(), and NtUserMessageCall().
Definition at line 1180 of file message.c.
Referenced by MENU_TrackMenu(), NtUserDragDetect(), and NtUserWaitMessage().
BOOLEAN FASTCALL co_MsqDispatchOneSentMessage | ( | _In_ PTHREADINFO | pti | ) |
Definition at line 873 of file msgqueue.c.
Referenced by co_IntPeekMessage(), and co_MsqSendMessage().
Definition at line 580 of file msgqueue.c.
Referenced by co_UserDestroyWindow(), co_WinPosSetWindowPos(), IntDeactivateWindow(), UserAttachThreadInput(), UserDeleteW32Thread(), UserSendMouseInput(), and UserSetCursorPos().
BOOL APIENTRY co_MsqPeekHardwareMessage | ( | IN PTHREADINFO | pti, |
IN BOOL | Remove, | ||
IN PWND | Window, | ||
IN UINT | MsgFilterLow, | ||
IN UINT | MsgFilterHigh, | ||
IN UINT | QSflags, | ||
OUT MSG * | pMsg | ||
) |
Definition at line 1939 of file msgqueue.c.
Referenced by co_IntPeekMessage().
Definition at line 2484 of file msgqueue.c.
Referenced by NtUserCallOneParam().
NTSTATUS FASTCALL co_MsqSendMessage | ( | PTHREADINFO | ptirec, |
HWND | Wnd, | ||
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
UINT | uTimeout, | ||
BOOL | Block, | ||
INT | HookMessage, | ||
ULONG_PTR * | uResult | ||
) |
Definition at line 1056 of file msgqueue.c.
Referenced by co_IntCallLowLevelHook(), and co_IntSendMessageTimeoutSingle().
BOOL FASTCALL co_MsqSendMessageAsync | ( | PTHREADINFO | ptiReceiver, |
HWND | hwnd, | ||
UINT | Msg, | ||
WPARAM | wParam, | ||
LPARAM | lParam, | ||
SENDASYNCPROC | CompletionCallback, | ||
ULONG_PTR | CompletionCallbackContext, | ||
BOOL | HasPackedLParam, | ||
INT | HookMessage | ||
) |
Definition at line 1014 of file msgqueue.c.
Referenced by co_MsqSendMessage(), IntHookModuleUnloaded(), and UserRegisterUserApiHook().
NTSTATUS FASTCALL co_MsqWaitForNewMessages | ( | PTHREADINFO | pti, |
PWND | WndFilter, | ||
UINT | MsgFilterMin, | ||
UINT | MsgFilterMax | ||
) |
Definition at line 2119 of file msgqueue.c.
Referenced by co_IntGetPeekMessage(), and co_IntWaitMessage().
CODE_SEG | ( | "INIT" | ) |
Definition at line 1810 of file Interface.c.
VOID FASTCALL FreeUserMessage | ( | PUSER_SENT_MESSAGE | Message | ) |
Definition at line 786 of file msgqueue.c.
Referenced by co_MsqDispatchOneSentMessage(), co_MsqSendMessage(), MsqCleanupThreadMsgs(), and MsqRemoveWindowMessagesFromQueue().
Definition at line 2193 of file msgqueue.c.
Referenced by StartTheTimers().
Definition at line 576 of file message.c.
Referenced by co_IntGetPeekMessage(), and IntMsqSetWakeMask().
Definition at line 606 of file message.c.
Referenced by co_IntGetPeekMessage(), co_IntPeekMessage(), and IntMsqClearWakeMask().
Definition at line 2190 of file message.c.
Referenced by DefWndDoSizeMove(), DefWndStartSizeMove(), MENU_TrackMenu(), NC_DoButton(), and NC_HandleNCRButtonDown().
VOID FASTCALL IntCoalesceMouseMove | ( | PTHREADINFO | pti | ) |
Definition at line 551 of file msgqueue.c.
Referenced by co_IntPeekMessage(), co_MsqInsertMouseMessage(), co_MsqWaitForNewMessages(), and ProcessKeyEvent().
Definition at line 2139 of file message.c.
Referenced by NtUserCallOneParam(), and NtUserGetThreadState().
Definition at line 2160 of file message.c.
Referenced by NtUserCallNoParam().
Definition at line 392 of file msgqueue.c.
Referenced by NtUserCallNoParam().
Definition at line 362 of file msgqueue.c.
Referenced by NtUserCallOneParam().
Definition at line 1276 of file keyboard.c.
Referenced by DefWndDoSizeMove(), DefWndStartSizeMove(), MENU_TrackMenu(), and NtUserTranslateMessage().
Definition at line 2173 of file message.c.
Referenced by NtUserCallNoParam().
BOOL FASTCALL IsThreadSuspended | ( | PTHREADINFO | pti | ) |
Definition at line 2180 of file msgqueue.c.
Referenced by co_MsqSendMessage(), and UpdateThreadWindows().
VOID FASTCALL MsqCleanupThreadMsgs | ( | PTHREADINFO | pti | ) |
Definition at line 2221 of file msgqueue.c.
Referenced by UserDeleteW32Thread().
PUSER_MESSAGE FASTCALL MsqCreateMessage | ( | LPMSG | Msg | ) |
Definition at line 731 of file msgqueue.c.
Referenced by MsqPostMessage().
PUSER_MESSAGE_QUEUE FASTCALL MsqCreateMessageQueue | ( | PTHREADINFO | pti | ) |
Definition at line 2396 of file msgqueue.c.
Referenced by InitThreadCallback(), and UserAttachThreadInput().
VOID FASTCALL MsqDecPaintCountQueue | ( | PTHREADINFO | pti | ) |
Definition at line 508 of file msgqueue.c.
Referenced by co_IntUpdateWindows(), co_UserFreeWindow(), IntBeginPaint(), IntGetNCUpdateRgn(), IntGetPaintMessage(), and IntInvalidateWindows().
VOID FASTCALL MsqDestroyMessage | ( | PUSER_MESSAGE | Message | ) |
Definition at line 748 of file msgqueue.c.
Referenced by co_MsqPeekHardwareMessage(), FindRemoveEventMsg(), MsqCleanupMessageQueue(), MsqCleanupThreadMsgs(), MsqPeekMessage(), and MsqRemoveWindowMessagesFromQueue().
VOID FASTCALL MsqDestroyMessageQueue | ( | _In_ PTHREADINFO | pti | ) |
Definition at line 2423 of file msgqueue.c.
Referenced by UserAttachThreadInput(), and UserDeleteW32Thread().
WPARAM FASTCALL MsqGetDownKeyState | ( | PUSER_MESSAGE_QUEUE | MessageQueue | ) |
Definition at line 338 of file msgqueue.c.
Referenced by co_IntProcessMouseMessage(), and SystemTimerProc().
Definition at line 2467 of file msgqueue.c.
Referenced by NtUserGetThreadState().
VOID FASTCALL MsqIncPaintCountQueue | ( | PTHREADINFO | pti | ) |
Definition at line 501 of file msgqueue.c.
Referenced by IntInvalidateWindows().
BOOLEAN FASTCALL MsqInitializeMessageQueue | ( | PTHREADINFO | pti, |
PUSER_MESSAGE_QUEUE | MessageQueue | ||
) |
Definition at line 2201 of file msgqueue.c.
Referenced by MsqCreateMessageQueue().
BOOL FASTCALL MsqIsHung | ( | PTHREADINFO | pti, |
DWORD | TimeOut | ||
) |
Definition at line 2149 of file msgqueue.c.
Referenced by co_IntSendMessageTimeoutSingle(), IntMakeHungWindowGhosted(), NtUserQueryWindow(), and UpdateThreadWindows().
BOOLEAN APIENTRY MsqPeekMessage | ( | IN PTHREADINFO | pti, |
IN BOOLEAN | Remove, | ||
IN PWND | Window, | ||
IN UINT | MsgFilterLow, | ||
IN UINT | MsgFilterHigh, | ||
IN UINT | QSflags, | ||
OUT LONG_PTR * | ExtraInfo, | ||
OUT DWORD * | dwQEvent, | ||
OUT PMSG | Message | ||
) |
Definition at line 2062 of file msgqueue.c.
Referenced by co_IntPeekMessage().
VOID FASTCALL MsqPostMessage | ( | PTHREADINFO | pti, |
MSG * | Msg, | ||
BOOLEAN | HardwareMessage, | ||
DWORD | MessageBits, | ||
DWORD | dwQEvent, | ||
LONG_PTR | ExtraInfo | ||
) |
Definition at line 1337 of file msgqueue.c.
Referenced by co_IntSetForegroundAndFocusWindow(), co_IntSetForegroundMessageQueue(), co_MsqInsertMouseMessage(), IntCallLowLevelEvent(), IntTranslateKbdMessage(), MsqPostMouseMove(), NtUserCallTwoParam(), PostTimerMessages(), ProcessKeyEvent(), UserPostMessage(), and UserPostThreadMessage().
VOID FASTCALL MsqPostQuitMessage | ( | PTHREADINFO | pti, |
ULONG | ExitCode | ||
) |
Definition at line 1381 of file msgqueue.c.
Referenced by NtUserCallOneParam().
VOID FASTCALL MsqReleaseModifierKeys | ( | PUSER_MESSAGE_QUEUE | MessageQueue | ) |
Definition at line 2546 of file msgqueue.c.
Referenced by IntDeactivateWindow().
Definition at line 798 of file msgqueue.c.
Referenced by co_UserFreeWindow().
Definition at line 2447 of file msgqueue.c.
Referenced by NtUserCallOneParam().
HWND FASTCALL MsqSetStateWindow | ( | PTHREADINFO | pti, |
ULONG | Type, | ||
HWND | hWnd | ||
) |
Definition at line 2507 of file msgqueue.c.
Referenced by co_UserSetCapture(), DefWndDoSizeMove(), IntTrackPopupMenuEx(), MENU_DoNextMenu(), MENU_InitTracking(), MENU_TrackMenu(), and NtUserCallTwoParam().
VOID FASTCALL MsqWakeQueue | ( | PTHREADINFO | pti, |
DWORD | MessageBits, | ||
BOOL | KeyEvent | ||
) |
Definition at line 412 of file msgqueue.c.
Referenced by co_IntSendMessageWithCallBack(), co_MsqDispatchOneSentMessage(), co_MsqInsertMouseMessage(), co_MsqSendMessage(), co_MsqSendMessageAsync(), MsqIncPaintCountQueue(), MsqPostMessage(), MsqPostMouseMove(), MsqPostQuitMessage(), and ProcessTimers().
Definition at line 1358 of file message.c.
Referenced by co_UserProcessHotKeys(), NtUserPostThreadMessage(), and UserPostMessage().
Definition at line 2090 of file message.c.
Referenced by co_IntSendActivateMessages(), IntHandlePowerEventWorker(), NtUserMessageCall(), NtUserSetSysColors(), UserChangeDisplaySettings(), UserRealizePalette(), and UserSendNotifyMessage().
PCURICON_OBJECT FASTCALL UserSetCursor | ( | PCURICON_OBJECT | NewCursor, |
BOOL | ForceChange | ||
) |
Definition at line 93 of file msgqueue.c.
Referenced by DefWndDoSizeMove(), DesktopWindowProc(), IntSystemSetCursor(), NtUserSetCursor(), and UserChangeDisplaySettings().
Definition at line 168 of file msgqueue.c.
Referenced by DefWndDoSizeMove(), and NtUserCallOneParam().
|
extern |
Definition at line 23 of file msgqueue.c.
Referenced by co_MsqDispatchOneSentMessage(), co_MsqSendMessage(), MsqCleanupThreadMsgs(), and MsqInitializeImpl().