Click or drag to resize
Xcalibur Systems LLC Logo

ProcessHelperCloseHandle Method

Closes an open object handle.

CloseHandle function


Namespace: Xcalibur.NativeMethods.V2.Processes
Assembly: 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
)

Parameters

handle  IntPtr
A valid handle to an open object.

Return Value

Boolean
If the function fails, the return value is zero. To get extended error information, call .
See Also