2.2.18 SC_ACTION_TYPE
The SC_ACTION_TYPE enumeration specifies action levels for the Type member of the SC_ACTION structure.
-
typedef [v1_enum] enum _SC_ACTION_TYPE { SC_ACTION_NONE = 0, SC_ACTION_RESTART = 1, SC_ACTION_REBOOT = 2, SC_ACTION_RUN_COMMAND = 3 } SC_ACTION_TYPE;
SC_ACTION_NONE: No action.
SC_ACTION_RESTART: Restart the service.
SC_ACTION_REBOOT: Reboot the computer.
SC_ACTION_RUN_COMMAND: Run a command.