2014年2月26日

win32 signal

摘要: RemarksThesignalfunction enables a process to choose one of several ways to handle an interrupt signal from the operating system. Thesigargument is the interrupt to whichsignalresponds; it must be one of the following manifest constants, which are defined in SIGNAL.H.sigvalueDescriptionSIGABRTAbnorm 阅读全文

posted @ 2014-02-26 19:50 偏爱省略号 阅读(629) 评论(0) 推荐(0) 编辑

How to send CTRL+BREAK signal to detached command-line process

摘要: 1.GenerateConsoleCtrlEvent functionSends a specified signal to a console process group that shares the console associated with the calling process.for detail:http://msdn.microsoft.com/en-us/library/windows/desktop/ms683155(v=vs.85).aspx2.Send signalBrowsing though MSDN showed thatGenerateConsoleCtrl 阅读全文

posted @ 2014-02-26 19:36 偏爱省略号 阅读(1016) 评论(0) 推荐(0) 编辑

导航