开发者

CTRL+C and CTRL+Break are different?

开发者 https://www.devze.com 2023-02-12 18:06 出处:网络
I\'ve t开发者_Go百科hought they are definitly same. But I just found some values CTRL_C_EVENT and CTRL_BREAK_EVENT at SetConsoleCtrlhandler function.

I've t开发者_Go百科hought they are definitly same.

But I just found some values CTRL_C_EVENT and CTRL_BREAK_EVENT at SetConsoleCtrlhandler function.

Is there a difference?


See the official documentation here: CTRL+C and CTRL+BREAK Signals

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

0

精彩评论

暂无评论...
验证码 换一张
取 消