다음을 통해 공유


CAtlServiceModuleT::SetServiceStatus

This method updates the service status.

void SetServiceStatus(
   DWORD dwState 
) throw( );

Parameters

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

See Also

Concepts

CAtlServiceModuleT Class

CAtlServiceModuleT Members