GetServiceStatus

Syntax:

GetServiceStatus()

Parameters:


Return Values:

#SERVICE_STOPPED

=

The service is not running.

#SERVICE_START_PENDING

=

The service is starting.

#SERVICE_STOP_PENDING

=

The service is stopping.

#SERVICE_RUNNING

=

The service is running.

#SERVICE_CONTINUE_PENDING

=

The service continue is pending.

#SERVICE_PAUSE_PENDING

=

The service pause is pending.

#SERVICE_PAUSED

=

The service is paused.


Description:

Get the Status of the Service (Started,Paused etc.)


Example:


Remarks:

tested with 2k/XP



Supported OS:   Windows