Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 4 Microsoft Windows Microagents and Methods : COM.TIBCO.hawk.hma.Services : Services:getServiceStatus

Services:getServiceStatus
Method
 
Purpose
This method gets the current status of the specified Microsoft Windows service(s). If the Service parameter is blank or set to ALL then all installed Microsoft Windows services are returned. If a specific service is specified then only that Microsoft Windows service is returned.
Type
Synchronous, IMPACT_INFO.
Arguments
 
Returns
 
OWN_PROCESS: Indicates a Win32 service that runs in its own process.
INTERACTIVE_OWN_PROCESS: Indicates a Win32 service that runs in its own process and that can interact with the desktop.
SHARE_PROCESS: Indicates a Win32 service that shares a process with other services.
INTERACTIVE_SHARE_PROCESS: Indicates a Win32 service that shares a process with other services and that can interact with the desktop.
KERNEL_DRIVER: Indicates a device driver.
FILE_SYSTEM_DRIVER: Indicates a file system driver.
The current state of the Microsoft Windows service. The service states are:
STOPPED: The service is not running.
START_PENDING: The service is starting.
STOP_PENDING: The service is stopping.
RUNNING: The service is running.
CONTINUE_PENDING: The service continue is pending.
PAUSE_PENDING: The service pause is pending.
PAUSED: The service is paused.
Exit Code Description
Controls Accepted
The control commands accepted by the Microsoft Windows service. If more than one control is specified they are listed in blank-delimited format. The controls accepted may be any combination of the following:
STOP: The service can be stopped.
PAUSE_CONTINUE: The service can be paused and continued.
SHUTDOWN: The service is notified when system shutdown occurs allowing the system to shut down this service.
 

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved