This class implements a service.
This class and its members cannot be used in applications that execute in the Windows Runtime.
Your class derived from CAtlServiceModuleT.
The resource identifier of the service.
The handler routine for the service.
Provides the default security settings for the service.
Installs and creates the service.
Confirms that the service has been installed.
Writes to the event log.
Override this method to continue the service.
Override this method to interrogate the service.
Override this method to pause the service.
Override this method to shut down the service
Override this method to stop the service
Override this method to handle unknown requests to the service
Parses the command line and performs registration if necessary.
This method is called immediately before entering the message loop.
Registers the service in the registry.
Runs the service.
The method called by the Service Control Manager.
Updates the service status.
Called by CAtlServiceModuleT::WinMain when the service starts.
Stops and removes the service.
Decrements the service's lock count.
Removes the service from the registry.
This method implements the code required to run the service.
Public Data Members
Flag indicating the program is running as a service.
Member variable storing the thread identifier.
Member variable storing a handle to the status information structure for the current service.
Member variable storing the status information structure for the current service.
The name of the service being registered.
CAtlServiceModuleT, derived from CAtlExeModuleT, implements a ATL Service module. CAtlServiceModuleT provides methods for command-line processing, installation, registering, and removal. If extra functionality is required, these and other methods can be overridden.