[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;
}
Structure SERVICE_FAILURE_ACTIONS
Public dwResetPeriod As Integer
Public lpRebootMsg As String
Public lpCommand As String
Public cActions As Integer
Public lpsaActions As IntPtr
End Structure
None.
None.