@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: Represents the action the service controller should take on each failure of a service. A service is considered failed when it terminates without reporting a status of SERVICE_STOPPED to the service controller. !!!!C# Signature: [StructLayout(LayoutKind.Sequential)] public struct SERVICE_FAILURE_ACTIONS { public int dwResetPeriod; [MarshalAs(UnmanagedType.LPTStr)] public string lpRebootMsg; [MarshalAs(UnmanagedType.LPTStr)] public string lpCommand; public int cActions; public IntPtr lpsaActions; } !!!!VB Signature: Declare Function SERVICE_FAILURE_ACTIONS Lib "advapi32.dll" (TODO) As TODO !!!!User-Defined Types: Use marshalled [SC_ACTION] structures for lpsaActions. !!!!Alternative Managed API: Do you know one? Please contribute it! !!!!Notes: None. !!!!Tips & Tricks: Please add some! !!!!Sample Code: See [ChangeServiceConfig2] for sample code. Documentation: SERVICE_FAILURE_ACTIONS@msdn on MSDN
Edit advapi32.SERVICE_...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.