CAtlServiceModuleT::SetServiceStatus
This method updates the service status.
void SetServiceStatus(
DWORD dwState
) throw( );
Parameters
- dwState
The new status. See SetServiceStatus for possible values.
Remarks
Updates the Service Control Manager's status information for the service. It is called by CAtlServiceModuleT::Run, CAtlServiceModuleT::ServiceMain and other handler methods. The status is also stored in the member variable CAtlServiceModuleT::m_status.
Requirements
Header: atlbase.h