CTRL c service end process wants its response with the follow-up issues, but when using GenerateConsoleCtrlEvent (CTRL_C_EVENT, PI [I] dwProcessId), the returns are true, but the process did not response CTRL_C_EVENT event, refer to how to make their response
CodePudding user response:
GenerateConsoleCtrlEven can emit ctrlbreak, hair CTRL c will show success, but in fact there is no issue
CodePudding user response:
http://www.cppblog.com/cyt/archive/2008/01/08/40723.html
http://andylin02.iteye.com/blog/661431