Run Service ActiveX Control - CurrentState Property

CurrentState property returns current state of the service.  

  LONG CurrentState;

  This property could have one of the following values:

Type Meaning
RSA_ SERVICE_CONTINUE_PENDING The service continue is pending
RSA_ SERVICE_PAUSE_PENDING The service pause is pending
RSA_ SERVICE_PAUSED The service is paused
RSA_SERVICE_RUNNING The service is running
RSA_SERVICE_START_PENDING The service is starting
RSA_SERVICE_STOP_PENDING The service is stopping
RSA_SERVICE_STOPPED The service is not running