18.0.6 Service Control Manager Functions

There are four categories of Service Control Manager functions:

1.General functions

2.SCManager object functions

3.Service object functions

4.Win32 service programs functions

The discussion of each function group is found in the following sections. functions which operate on an object are presented with a discussion of the object type first, followed by the function definitions.

18.0.6.1 General Functions

There is one general function, CloseServiceHandle, which is used to close a handle of either a SCManager object or a Service object.

18.0.6.2 General Data Types

The Service Control Manager object handle has an opaque data type:

typedef LPVOID SC_HANDLE;