|
WindowsApiCloseServiceHandle Method
|
Win32 CloseServiceHandle function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.255-beta+d64b121002b51165b41b0dbf6ccf4c8d3895faa3
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 Boolean
public:
[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