Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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