Click or drag to resize

WindowsApiChangeServiceConfig2(IntPtr, Int32, WindowsApiSERVICE_FAILURE_ACTIONS_FLAG) Method

Win32 ChangeServiceConfig2 function.

Namespace: GSF.Interop
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool ChangeServiceConfig2(
	IntPtr hService,
	int dwInfoLevel,
	ref WindowsApiSERVICE_FAILURE_ACTIONS_FLAG lpInfo
)
View Source

Parameters

hService  IntPtr
 
dwInfoLevel  Int32
 
lpInfo  WindowsApiSERVICE_FAILURE_ACTIONS_FLAG
 

Return Value

Boolean
See Also