摘要: 1.停止服务 1.SetEvent(stopServiceEvent); 设置stopServiceEvent为有信号状态 2.monitor_sessions()中判断stopServiceEvent为有信号状态 将ToCont = FALSE; 退出循环并将hEvent(hEvent = CreateEvent(NULL, FALSE, FALSE, "Global\\SessionEventUltra");) 设置为有信号状态 3.创建进程的时候,创建了一个hShutdownEvent(hShutdownEvent = OpenEvent(EVE... 阅读全文
posted @ 2013-08-05 12:02 无语东流 阅读(575) 评论(0) 推荐(0)