How deep is the Win32 message queue?

怎甘沉沦 提交于 2019-11-28 10:56:55
Corey Trager

10000 by default, but it can be adjusted via the registry.

If queue overflows, PostMessage fails.

Documentation here:

PostMessage function on MSDN

As stated in the MSDN article, if you need to worry about the size of the message queue, you might be better off redesigning your application.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!