|
WindowsApiChangeServiceConfig2(IntPtr, Int32, WindowsApiSERVICE_DESCRIPTION) Method
|
Win32 ChangeServiceConfig2 function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.251-beta+c370f3da3791592278238855631f53a5ff418c68
Syntax[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool ChangeServiceConfig2(
IntPtr hService,
int dwInfoLevel,
ref WindowsApiSERVICE_DESCRIPTION lpInfo
)
<DllImportAttribute("advapi32.dll", SetLastError := true>]
Public Shared Function ChangeServiceConfig2 (
hService As IntPtr,
dwInfoLevel As Integer,
ByRef lpInfo As WindowsApiSERVICE_DESCRIPTION
) As Boolean
public:
[DllImportAttribute(L"advapi32.dll", SetLastError = true)]
static bool ChangeServiceConfig2(
IntPtr hService,
int dwInfoLevel,
WindowsApiSERVICE_DESCRIPTION% lpInfo
)
[<DllImportAttribute("advapi32.dll", SetLastError = true)>]
static member ChangeServiceConfig2 :
hService : IntPtr *
dwInfoLevel : int *
lpInfo : WindowsApiSERVICE_DESCRIPTION byref -> bool
GSF.Interop.WindowsApi.ChangeServiceConfig2 = function(hService, dwInfoLevel, lpInfo);
View SourceParameters
- hService IntPtr
-
- dwInfoLevel Int32
-
- lpInfo WindowsApiSERVICE_DESCRIPTION
-
Return Value
Boolean
See Also