I don't know for sure but I am unaware of any API to block the message queue. So let's look at other ways of accomplishing your goal and if someone else shows how to block the message queue you can RF my post
You could use proprietary messages to mark the start/stop of the sound and eat all the messages that arrive in your windows procedure in-between. If your using MFC you would override CWnd:reTranslateMessage()
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.