| Visual Basic (Declaration) | |
|---|---|
<DllImportAttribute("kernel32.dll")> <PreserveSigAttribute()> Public Shared Function CloseHandle( _ ByVal handle As IntPtr _ ) As Boolean | |
| C# | |
|---|---|
[DllImportAttribute("kernel32.dll")] [PreserveSigAttribute()] public static bool CloseHandle( IntPtr handle ) | |
Parameters
- handle
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7, Windows Server 2008 family