RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SvcMgr.TCurrentStatus Enumeration

TCurrentStatus indicates the state of a service.

Pascal
TCurrentStatus = (
  csStopped,
  csStartPending,
  csStopPending,
  csRunning,
  csContinuePending,
  csPausePending,
  csPaused
);
C++
enum TCurrentStatus {
  csStopped,
  csStartPending,
  csStopPending,
  csRunning,
  csContinuePending,
  csPausePending,
  csPaused
};

TCurrentStatus can have one of the following values:

Value 
Meaning 
csStopped  
The service is not running.  
csStartPending  
The service is starting.  
csStopPending  
The service is stopping.  
csRunning  
The service is running.  
csContinuePending  
The service continue is pending.  
csPausePending  
The service pause is pending.  
csPaused  
The service is paused  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!