SERVICE_STATUS m_status;
m_status.dwControlsAccepted = 0;//SERVICE_ACCEPT_STOP;
::SetServiceStatus(m_hServiceStatus, &m_status);
本文探讨了SERVICE_STATUS结构中m_status成员变量的设置方法,包括如何使用SERVICE_ACCEPT_STOP标志及SetServiceStatus函数更新服务状态。
SERVICE_STATUS m_status;
m_status.dwControlsAccepted = 0;//SERVICE_ACCEPT_STOP;
::SetServiceStatus(m_hServiceStatus, &m_status);
5823

被折叠的 条评论
为什么被折叠?