Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 516
  • Last Modified:

On failure....

Anone know how to turn the action on failure information that is returned by a call to the SERVICE_FAILURE_ACTIONS structure into workable information? (ie: into seperate items that can be listed and worked with individualy)
0
tayto
Asked:
tayto
1 Solution
 
cruxyCommented:

idx: 0..SERVICE_FAILURE_ACTIONS.cActions


SERVICE_FAILURE_ACTIONS^.SC_ACTIONS[idx].Type

Possibilities
SC_ACTION_NONE                 No action.
SC_ACTION_REBOOT             Reboot the computer.
SC_ACTION_RESTART           Restart the service.
SC_ACTION_RUN_COMMAND  Run a command.

SERVICE_FAILURE_ACTIONS^.SC_ACTIONS[idx].Delay
time in ms to perform Action
0
 
taytoAuthor Commented:
sorry for the delay cruxy - your answer was not really what i was looking for but because i was late in getting back i'll award you the points and re-ask the question again.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now