使用vc创建删除windows服务

cas8022748 8 0 RAR 2020-09-20 05:09:46

// Register the control request handler status.dwCurrentState = SERVICE_START_PENDING; status.dwControlsAccepted = SERVICE_ACCEPT_STOP; //注册服务控制 hServiceStatus = RegisterServiceCtrlHandler(szServiceName, ServiceStrl); if (hServiceStatus == NULL) { LogEvent(_T("Handler not

用户评论
请输入评论内容
评分:
暂无评论