?
Solved

On failure....

Posted on 2004-03-21
2
Medium Priority
?
512 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 1500 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

Independent Software Vendors: 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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

649 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