|

StartType


(number) The way in which the service will be started. This can be one of the following:



CONSTANT


VALUE DESCRIPTION


SERVICE_BOOT_START


0


A device driver started by the system loader. This value is valid only for driver services.


SERVICE_SYSTEM_START


1


A device driver started by the IoInitSystem function. This



value is valid only for driver services.


SERVICE_AUTO_START


2


A service started automatically by the service control manager during system startup.


SERVICE_DEMAND_START


3


A service started by the service control manager when a process calls the StartService function.


SERVICE_DISABLED


4


A service that cannot be started. Attempts to start this service will result in a Windows error.


|