我一直认为它们绝对是一样的。
但我刚刚在以下位置找到了一些值 CTRL_C_EVENT 和 CTRL_BREAK_EVENT设置控制台Ctrl处理程序 http://msdn.microsoft.com/en-us/library/ms686016%28v=vs.85%29.aspx功能。
有区别吗?
See the official documentation here: CTRL+C and CTRL+BREAK Signals http://msdn.microsoft.com/en-us/library/ms682541%28v=vs.85%29.aspx
I quote:
CTRL+BREAK is always treated as a
signal, but an application can change
the default CTRL+C behavior in two
ways that prevent the handler
functions from being called
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)