MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / CloseHandle

Method CloseHandle

src/Squirrel/NativeMethods.cs:73–74  ·  view source on GitHub ↗
(IntPtr hHandle)

Source from the content-addressed store, hash-verified

71 int processId);
72
73 [DllImport("kernel32.dll", SetLastError = true)]
74 internal static extern bool CloseHandle(IntPtr hHandle);
75
76 [DllImport("NTDLL.DLL", SetLastError=true)]
77 internal static extern int NtQueryInformationProcess(IntPtr hProcess, PROCESSINFOCLASS pic, ref PROCESS_BASIC_INFORMATION pbi, int cb, out int pSize);

Callers 2

waitForParentToExitMethod · 0.80
EnumerateProcessesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected