public enum ServiceAcceptedControls Controls a running service accepts (the native SERVICE_ACCEPT_* flags).
Remarks
This set is open: Windows may define more flags and a minor release may name them. Bits without a name here are passed through unchanged.
Values
None
None = 0 No controls.
Stop
Stop = 1 The service can be stopped.
PauseContinue
PauseContinue = 2 The service can be paused and continued.
Shutdown
Shutdown = 4 The service is notified when the system shuts down.
ParameterChange
ParameterChange = 8 The service can reread its startup parameters.
NetBindChange
NetBindChange = 16 The service is notified of network binding changes.
HardwareProfileChange
HardwareProfileChange = 32 The service is notified of hardware profile changes.
PowerEvent
PowerEvent = 64 The service is notified of power events.
SessionChange
SessionChange = 128 The service is notified of session changes.
Preshutdown
Preshutdown = 256 The service performs pre-shutdown tasks.
TimeChange
TimeChange = 512 The service is notified when the system time changes.
TriggerEvent
TriggerEvent = 1024 The service is notified of registered trigger events.
UserLogoff
UserLogoff = 2048 The service is notified when a user logs off.
LowResources
LowResources = 8192 The service is notified of low resources.
SystemLowResources
SystemLowResources = 16384 The service is notified of low system resources.