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
精彩评论