From ba2e8358b239f5012eb29fe77594375ba2ddae9e Mon Sep 17 00:00:00 2001 From: Vincent Wei Date: Thu, 27 Feb 2020 21:02:31 +0800 Subject: [PATCH] declare internal function __mg_throw_away_messages --- src/include/internals.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/include/internals.h b/src/include/internals.h index 4be3f8fa..f402db6b 100644 --- a/src/include/internals.h +++ b/src/include/internals.h @@ -692,6 +692,9 @@ static inline PMSGQUEUE getMsgQueue (HWND hWnd) MSGQUEUE* mg_AllocMsgQueueForThisThread (void); void mg_FreeMsgQueueForThisThread (void); +/* Since 5.0.0 */ +int __mg_throw_away_messages (PMSGQUEUE pMsgQueue, HWND hWnd); + #ifdef _MGHAVE_VIRTUAL_WINDOW #define TEST_CANCEL pthread_testcancel()