|
WindowsApiCloseServiceHandle Method
|
Win32 CloseServiceHandle function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.266-beta+c6b78f50c57a6e00a35ffa6b1d344e516617d5cd
Syntax[DllImportAttribute("advapi32.dll", SetLastError = true)]
public static bool CloseServiceHandle(
IntPtr hSCObject
)<DllImportAttribute("advapi32.dll", SetLastError := true>]
Public Shared Function CloseServiceHandle (
hSCObject As IntPtr
) As Booleanpublic:
[DllImportAttribute(L"advapi32.dll", SetLastError = true)]
static bool CloseServiceHandle(
IntPtr hSCObject
)
[<DllImportAttribute("advapi32.dll", SetLastError = true)>]
static member CloseServiceHandle :
hSCObject : IntPtr -> bool GSF.Interop.WindowsApi.CloseServiceHandle = function(hSCObject);
View SourceParameters
- hSCObject IntPtr
-
Return Value
Boolean
See Also