1 out of 1 rated this helpful - Rate this topic

Service Control Programs

A service control program starts and controls services. It performs the following actions:

  • Starts a service or driver service, if the start type is SERVICE_DEMAND_START.
  • Sends control requests to a running service.
  • Queries the current status of a running service.

These actions require an open handle to the service object. To obtain the handle, the service control program must:

  1. Use the OpenSCManager function to obtain a handle to the SCM database on a specified machine.
  2. Use the OpenService or CreateService function to obtain a handle to the service object.

For more information, see the following topics:

 

 

Send comments about this topic to Microsoft

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.