Click or drag to resize

SERVICE_FAILURE_ACTIONS Fields

The WindowsApiSERVICE_FAILURE_ACTIONS type exposes the following members.

Fields
  Name Description
Public field cActions The number of elements in the lpsaActions array.
Public field dwResetPeriod The time after which to reset the failure count to zero if there are no failures, in seconds. Specify INFINITE to indicate that this value should never be reset.
Public field lpCommand The command line of the process for the CreateProcess function to execute in response to the SC_ACTION_RUN_COMMAND service controller action. This process runs under the same account as the service.
Public field lpRebootMsg The message to be broadcast to server users before rebooting in response to the SC_ACTION_REBOOT service controller action.
Public field lpsaActions A pointer to an array of SC_ACTION structures.
Top
See Also