Vcl.SvcMgr.TStartType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStartType = (stBoot, stSystem, stAuto, stManual, stDisabled);

C++

enum DECLSPEC_DENUM TStartType : unsigned char { stBoot, stSystem, stAuto, stManual, stDisabled };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.SvcMgr.pas
Vcl.SvcMgr.hpp
Vcl.SvcMgr Vcl.SvcMgr

Description

TStartType indicates how a service starts up.

The following table lists the possible values of TStartType:



StartType value Service is started

stBoot(used only when ServiceType is not stWin32)

by the operating system loader

stSystem(used only when ServiceType is not stWin32)

after boot systems are initialized

stAuto

automatically during system startup

stManual

when a process calls the Windows StartService function

stDisabled

the service can't be started except by an administrator