|
ProcessHelperCloseHandle Method |
Namespace: Xcalibur.NativeMethods.V2.ProcessesAssembly: Xcalibur.NativeMethods.V2 (in Xcalibur.NativeMethods.V2.dll) Version: 1.0.1.0
Syntax [DllImportAttribute("kernel32.dll", SetLastError = true)]
[SecurityCriticalAttribute]
public static bool CloseHandle(
IntPtr handle
)
<DllImportAttribute("kernel32.dll", SetLastError := true>]
<SecurityCriticalAttribute>
Public Shared Function CloseHandle (
handle As IntPtr
) As Boolean
public:
[DllImportAttribute(L"kernel32.dll", SetLastError = true)]
[SecurityCriticalAttribute]
static bool CloseHandle(
IntPtr handle
)
[<DllImportAttribute("kernel32.dll", SetLastError = true)>]
[<SecurityCriticalAttribute>]
static member CloseHandle :
handle : IntPtr -> bool
Parameters
- handle IntPtr
- A valid handle to an open object.
Return Value
BooleanIf the function fails, the return value is zero. To get extended error
information, call .
See Also