Solved

On failure....

Posted on 2004-03-21
2
508 Views
Last Modified: 2010-04-16
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
Comment
Question by:tayto
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
cruxy earned 500 total points
ID: 10648493

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
 

Author Comment

by:tayto
ID: 11377570
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question