The system uses the configuration information to determine how to start the service. The configuration information also includes the service display name and its description. For example, for the DHCP service, you could use the display name "Dynamic Host Configuration Protocol Service" and the description "Provides internet addresses for computer on your network."
To modify the configuration information for a service object, a configuration program uses the ChangeServiceConfig or ChangeServiceConfig2 function. For an example, see Changing a Service Configuration.
To retrieve the configuration information for a service object, the configuration program uses the QueryServiceConfig or QueryServiceConfig2 function. For an example, see Querying a Service's Configuration.
To modify the security descriptor for either an SCManager object or a service object, a configuration program uses the SetServiceObjectSecurity function. To retrieve a copy of the security descriptor, the configuration program uses the QueryServiceObjectSecurity function.