Click or drag to resize
Xcalibur Systems LLC Logo

ServiceAccepts Enumeration

The control codes the service accepts and processes in its handler function.

SERVICE_STATUS_PROCESS structure


Namespace: Xcalibur.NativeMethods.V2.Services
Assembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax
public enum ServiceAccepts
Members
Member nameValueDescription
Stop1 The service can be stopped.
PauseContinue2 The service can be paused and continued.
Shutdown4 The service is notified when system shutdown occurs.
ParamChanged8 The service can reread its startup parameters without being stopped and restarted.
NetBindChange16 The service is a network component that can accept changes in its binding without being stopped and restarted.
HardwareProfileChange32 The service is notified when the computer's hardware profile has changed.
PowerEvent64 The service is notified when the computer's power status has changed.
SessionChange128 The service is notified when the computer's session status has changed.
PreShutdown256 The service can perform preshutdown tasks.
TimeChange512 The service is notified when the system time has changed.
TriggerEvent1,024 The service is notified when an event for which the service has registered occurs.
UserModeReboot2,048 The services is notified when the user initiates a reboot.
See Also