none
windows ctrl+c interrupt信号 RRS feed

答案

  • 您可以看看这个函数GenerateConsoleCtrlEvent

    https://msdn.microsoft.com/en-us/library/windows/desktop/ms683155(v=vs.85).aspx

    dwCtrlEvent [in]

    The type of signal to be generated. This parameter can be one of the following values.

    dwProcessGroupId [in]

              The identifier of the process group to receive the signal.

    希望这些对你有帮助。


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • 已标记为答案 Shu 2017 2015年8月10日 9:19
    2015年7月31日 2:52