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
};

SvcMgr

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!