|
WindowsApiCloseServiceHandle Method
|
Win32 CloseServiceHandle function.
Namespace: GSF.InteropAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.256-beta+0e7e94d39a9b10efe7e26e3b8d5130afc0dd4d74
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