Win32 Recovery action
Constant
Value
Description
WIN32_SC_ACTION_NONE
0x00000000
No action.
WIN32_SC_ACTION_RESTART
0x00000001
Restart the service.
WIN32_SC_ACTION_REBOOT
0x00000002
Restart the server.
WIN32_SC_ACTION_RUN_COMMAND
0x00000003
Run a command.