Advertisement
5_2007-2008 Complete Applications #177467

Service Control Manager

I have painstakingly researched everything dealing with services. It has taken me a while to weed through all the garbage that Microsoft dishes out but I finally did. This is a recreation (with a few tweaks) of the Service Control Manager for NT. It doesn't do everything yet. This code shows you how to start/stop/pause/continue services. Beyond that, and even more important, it shows you how to determine IF a service can be stopped.. if it IS disabled.. if an error occurred, etc. This is my first time submitting code to Planetsourcecode and I hope you guys vote for my code. I am planning on updating this app shortly to fully work with 2000 (using some new 2000 features) and enable the configuration of services. I also added a feature that Microsoft includes in there SCM. I am able to determine if a service depends on another service so all dependent services stop if you stop the main service. I can go into details and answer questions via feedback. Please send me your feedback.

AI

Riepilogo AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Codice sorgente
original-source
Upload
Commenti originali (3)
Recuperato da Wayback Machine