From eec230298da73107a5e826b4d0ed1a8e2bf37f2d Mon Sep 17 00:00:00 2001 From: Gunnar Dalsnes Date: Sat, 2 Aug 2003 16:53:40 +0000 Subject: [PATCH] -added queue bits (currently unused) svn path=/trunk/; revision=5384 --- reactos/subsys/win32k/include/msgqueue.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/reactos/subsys/win32k/include/msgqueue.h b/reactos/subsys/win32k/include/msgqueue.h index 1f59059a380..7c084ca8f22 100644 --- a/reactos/subsys/win32k/include/msgqueue.h +++ b/reactos/subsys/win32k/include/msgqueue.h @@ -62,6 +62,13 @@ typedef struct _USER_MESSAGE_QUEUE HWND ActiveWindow; /* Current capture window for this queue. */ HWND CaptureWindow; + + /* queue state tracking */ + WORD WakeBits; + WORD WakeMask; + WORD ChangedBits; + WORD ChangedMask; + } USER_MESSAGE_QUEUE, *PUSER_MESSAGE_QUEUE; VOID FASTCALL @@ -123,6 +130,10 @@ MsqPostKeyboardMessage(UINT uMsg, WPARAM wParam, LPARAM lParam); VOID FASTCALL MsqInsertSystemMessage(MSG* Msg); +inline BOOL MsqIsSignaled( PUSER_MESSAGE_QUEUE queue ); +inline VOID MsqSetQueueBits( PUSER_MESSAGE_QUEUE queue, WORD bits ); +inline VOID MsqClearQueueBits( PUSER_MESSAGE_QUEUE queue, WORD bits ); + #define MAKE_LONG(x, y) ((((y) & 0xFFFF) << 16) | ((x) & 0xFFFF)) #endif /* __WIN32K_MSGQUEUE_H */