SERVICE_
|
The WindowsApiSERVICE_FAILURE_ACTIONS type exposes the following members.
Name | Description | |
---|---|---|
cActions | The number of elements in the lpsaActions array. | |
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. | |
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. | |
lpRebootMsg | The message to be broadcast to server users before rebooting in response to the SC_ACTION_REBOOT service controller action. | |
lpsaActions | A pointer to an array of SC_ACTION structures. |